refactor: global get_yaml_array function

This commit is contained in:
ER
2023-08-13 16:59:23 +03:00
parent 7fea9a143f
commit 9ad0048fc3
2 changed files with 5 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
# Tell build process to exit if there are any errors.
set -oue pipefail
readarray RUN < <(yq -o=j -I=0 '.run[]' "$1" )
get_yaml_array RUN '.run[]' "$1"
cd "$CONFIG_DIRECTORY/scripts"