We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ee4cc8 commit 1db479eCopy full SHA for 1db479e
.github/workflows/check-certificates.yml
@@ -28,12 +28,13 @@ jobs:
28
- name: Set certificates path environment variable
29
run: |
30
# 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
+ echo "FILES=\"$(ls ${{ github.workspace }}/certs/* | xargs | sed 's/ /","/g')\"" >> $GITHUB_ENV
32
+
33
34
- name: Get files list
35
id: get-files
36
- JSON=$(echo "[${{ join(env.FILES) }}]" | jq -c '{"cert_file": .}')
37
+ JSON=$(echo '[${{ join(env.FILES) }}]' | jq -c '{"cert_file": .}')
38
echo "::set-output name=certificates::$JSON"
39
40
check-certificates:
0 commit comments