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:
190190
191191 mkdir -p test_results
192192
193+ echo "Downloading artifacts for run ID: $LAST_SUCCESSFUL_RUN_ID"
194+
193195 for ARTIFACT_ID in $ARTIFACT_IDS; do
194196 curl \
195197 -H "Accept: application/vnd.github+json" \
196198 -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
197199 -H "X-GitHub-Api-Version: 2022-11-28" \
198200 -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"
200202
201203 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
202206 rm my_artifact.zip
203207 done
204208
You can’t perform that action at this time.
0 commit comments