Skip to content

Commit 1469397

Browse files
committed
fix version inpouts?
1 parent 6423517 commit 1469397

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build-gcc-packages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@ jobs:
4646
4747
# Parse inputs or use defaults
4848
if [[ -n "${INPUTS_PHP_VERSIONS}" ]]; then
49-
php_versions=$(echo '${INPUTS_PHP_VERSIONS}' | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
49+
php_versions=$(echo "${INPUTS_PHP_VERSIONS}" | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
5050
else
5151
php_versions=$default_php
5252
fi
5353
5454
if [[ -n "${INPUTS_ALMA_VERSIONS}" ]]; then
55-
alma_versions=$(echo '${INPUTS_ALMA_VERSIONS}' | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
55+
alma_versions=$(echo "${INPUTS_ALMA_VERSIONS}" | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
5656
else
5757
alma_versions=$default_alma
5858
fi
5959
6060
if [[ -n "${INPUTS_ARCHITECTURES}" ]]; then
61-
arch_versions=$(echo '${INPUTS_ARCHITECTURES}' | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
61+
arch_versions=$(echo "${INPUTS_ARCHITECTURES}" | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
6262
else
6363
arch_versions=$default_arch
6464
fi
@@ -329,13 +329,13 @@ jobs:
329329
330330
# Parse inputs or use defaults
331331
if [[ -n "${GITHUB_EVENT_INPUTS_ALMA_VERSIONS}" ]]; then
332-
alma_versions=$(echo '${GITHUB_EVENT_INPUTS_ALMA_VERSIONS}' | jq -Rc 'split(",") | map(gsub("^\\s+|\\s+$";""))')
332+
alma_versions=$(echo "${GITHUB_EVENT_INPUTS_ALMA_VERSIONS}" | jq -Rc 'split(",") | map(gsub("^\\s+|\\s+$";""))')
333333
else
334334
alma_versions=$default_alma
335335
fi
336336
337337
if [[ -n "${GITHUB_EVENT_INPUTS_ARCHITECTURES}" ]]; then
338-
arch_versions=$(echo '${GITHUB_EVENT_INPUTS_ARCHITECTURES}' | jq -Rc 'split(",") | map(gsub("^\\s+|\\s+$";""))')
338+
arch_versions=$(echo "${GITHUB_EVENT_INPUTS_ARCHITECTURES}" | jq -Rc 'split(",") | map(gsub("^\\s+|\\s+$";""))')
339339
else
340340
arch_versions=$default_arch
341341
fi

0 commit comments

Comments
 (0)