Skip to content

Commit 2bfcc28

Browse files
authored
Update build-apk-forgejo.yml
1 parent 1f198ad commit 2bfcc28

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-apk-forgejo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ jobs:
4747
default_arch='["x86_64","aarch64"]'
4848
4949
if [[ -n "${INPUTS_PHP_VERSIONS}" ]]; then
50-
php_versions=$(echo "${INPUTS_PHP_VERSIONS}" | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
50+
php_versions=$(echo "${INPUTS_PHP_VERSIONS}" | jq -Rc 'split(",") | map(gsub("^\\s+|\\s+$";""))')
5151
else
5252
php_versions=$default_php
5353
fi
5454
5555
if [[ -n "${INPUTS_ARCHITECTURES}" ]]; then
56-
arch_versions=$(echo "${INPUTS_ARCHITECTURES}" | jq -R 'split(",") | map(gsub("^\\s+|\\s+$";""))')
56+
arch_versions=$(echo "${INPUTS_ARCHITECTURES}" | jq -Rc 'split(",") | map(gsub("^\\s+|\\s+$";""))')
5757
else
5858
arch_versions=$default_arch
5959
fi

0 commit comments

Comments
 (0)