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