File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments