File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -190,15 +190,19 @@ jobs:
190
190
191
191
mkdir -p test_results
192
192
193
+ echo "Downloading artifacts for run ID: $LAST_SUCCESSFUL_RUN_ID"
194
+
193
195
for ARTIFACT_ID in $ARTIFACT_IDS; do
194
196
curl \
195
197
-H "Accept: application/vnd.github+json" \
196
198
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
197
199
-H "X-GitHub-Api-Version: 2022-11-28" \
198
200
-L -o my_artifact.zip \
199
- https://api.github.com/repos/${{ github.repository }}/actions/artifacts/" ${ARTIFACT_ID}" /zip
201
+ " https://api.github.com/repos/${{ github.repository }}/actions/artifacts/${ARTIFACT_ID}/zip"
200
202
201
203
unzip my_artifact.zip -d test_results 2> /dev/null || true
204
+ echo "Contents of test_results directory for artifact ID: $ARTIFACT_ID"
205
+ ls -l test_results
202
206
rm my_artifact.zip
203
207
done
204
208
You can’t perform that action at this time.
0 commit comments