We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f198ad commit 2bfcc28Copy full SHA for 2bfcc28
1 file changed
.github/workflows/build-apk-forgejo.yml
@@ -47,13 +47,13 @@ jobs:
47
default_arch='["x86_64","aarch64"]'
48
49
if [[ -n "${INPUTS_PHP_VERSIONS}" ]]; then
50
- php_versions=$(echo "${INPUTS_PHP_VERSIONS}" | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
+ php_versions=$(echo "${INPUTS_PHP_VERSIONS}" | jq -Rc 'split(",") | map(gsub("^\\s+|\\s+$";""))')
51
else
52
php_versions=$default_php
53
fi
54
55
if [[ -n "${INPUTS_ARCHITECTURES}" ]]; then
56
- arch_versions=$(echo "${INPUTS_ARCHITECTURES}" | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
+ arch_versions=$(echo "${INPUTS_ARCHITECTURES}" | jq -Rc 'split(",") | map(gsub("^\\s+|\\s+$";""))')
57
58
arch_versions=$default_arch
59
0 commit comments