File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
actions/restore-artifacts Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,6 @@ inputs:
15
15
token :
16
16
description : GITHUB_TOKEN from secrets (not accessible from here)
17
17
required : false
18
- runId :
19
- description : The GITHUB_RUN_ID
20
- required : false
21
18
22
19
runs :
23
20
using : composite
68
65
rm -rf $(jq -r '.testToDelete' <<< $client) || true
69
66
70
67
# Get the artifact id
71
- id=$(gh api -H "Accept: application/vnd.github.v3+json" /repos/algolia/api-clients-automation/actions/runs/${{ inputs.runId }}/artifacts -q ".artifacts [] | select(.name==\"$artifact\") | .id")
68
+ id=$(gh api -H "Accept: application/vnd.github.v3+json" /repos/algolia/api-clients-automation/actions/runs/${{ github.run_id }}/artifacts -q ".artifacts [] | select(.name==\"$artifact\") | .id")
72
69
gh api -H "Accept: application/vnd.github.v3+json" /repos/algolia/api-clients-automation/actions/artifacts/$id/zip > $artifact.zip
73
70
unzip -q -o $artifact.zip && rm $artifact.zip
74
71
done
Original file line number Diff line number Diff line change @@ -245,7 +245,6 @@ jobs:
245
245
type : all
246
246
matrix : ${{ toJSON(needs.setup.outputs.GEN_MATRIX) }}
247
247
token : ${{ secrets.ALGOLIA_BOT_TOKEN }}
248
- runId : ${{ env.GITHUB_RUN_ID }}
249
248
250
249
- name : Setup
251
250
uses : ./.github/actions/setup
You can’t perform that action at this time.
0 commit comments