File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
.github/actions/restore-artifacts Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,12 @@ runs:
57
57
GITHUB_TOKEN : ${{ inputs.token }}
58
58
run : |
59
59
echo ${{ inputs.matrix }} | jq -c '.client []' | while read client; do
60
- language=$(jq '.language' <<< $client)
60
+ language=$(jq -r '.language' <<< $client)
61
61
artifact="clients-$language"
62
62
echo "Downloading $artifact artifacts"
63
63
64
- rm -rf $(jq '.path' <<< $client)
65
- rm -rf $(jq '.testToDelete' <<< $client) || true
64
+ rm -rf $(jq -r '.path' <<< $client)
65
+ rm -rf $(jq -r '.testToDelete' <<< $client) || true
66
66
67
67
# Get the artifact id
68
68
id=$(gh api -H "Accept: application/vnd.github.v3+json" /repos/algolia/api-clients-automation/actions/runs/${{ env.GITHUB_RUN_ID }}/artifacts -q ".artifacts [] | select(.name==\"$artifact\") | .id")
You can’t perform that action at this time.
0 commit comments