Skip to content

Commit 6540cc3

Browse files
committed
raw output
1 parent cc833a3 commit 6540cc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/actions/restore-artifacts/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ runs:
5757
GITHUB_TOKEN: ${{ inputs.token }}
5858
run: |
5959
echo ${{ inputs.matrix }} | jq -c '.client []' | while read client; do
60-
language=$(jq '.language' <<< $client)
60+
language=$(jq -r '.language' <<< $client)
6161
artifact="clients-$language"
6262
echo "Downloading $artifact artifacts"
6363
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
6666
6767
# Get the artifact id
6868
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")

0 commit comments

Comments
 (0)