Skip to content

Commit 1db479e

Browse files
committed
Fix certificates workflows
1 parent 4ee4cc8 commit 1db479e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/check-certificates.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ jobs:
2828
- name: Set certificates path environment variable
2929
run: |
3030
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
31-
echo "FILES=\\\"$(ls -md ${{ github.workspace }}/certs/* | xargs | sed 's/, /","/g')\\\"" >> $GITHUB_ENV
31+
echo "FILES=\"$(ls ${{ github.workspace }}/certs/* | xargs | sed 's/ /","/g')\"" >> $GITHUB_ENV
32+
3233
3334
- name: Get files list
3435
id: get-files
3536
run: |
36-
JSON=$(echo "[${{ join(env.FILES) }}]" | jq -c '{"cert_file": .}')
37+
JSON=$(echo '[${{ join(env.FILES) }}]' | jq -c '{"cert_file": .}')
3738
echo "::set-output name=certificates::$JSON"
3839
3940
check-certificates:

0 commit comments

Comments
 (0)