Skip to content

Commit 0fe1e5a

Browse files
committed
Fix certificates workflows
1 parent 4ee4cc8 commit 0fe1e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-certificates.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ 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
3232
3333
- name: Get files list
3434
id: get-files
3535
run: |
36-
JSON=$(echo "[${{ join(env.FILES) }}]" | jq -c '{"cert_file": .}')
36+
JSON=$(echo '[${{ join(env.FILES) }}]' | jq -c '{"cert_file": .}')
3737
echo "::set-output name=certificates::$JSON"
3838
3939
check-certificates:

0 commit comments

Comments
 (0)