Skip to content

Commit 4ece57e

Browse files
committed
get artifacts from remote
1 parent 815f0e7 commit 4ece57e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,11 @@ jobs:
492492
MATRIX_JSON=$(echo '[
493493
]' | jq -c)
494494
echo "MATRIX_JSON=${MATRIX_JSON}" >> $GITHUB_ENV
495-
495+
- name: Find released artifacts
496+
run: |
497+
artifacts_json=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
498+
"https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts")
499+
echo $artifacts_json
496500
docker:
497501
runs-on: ubuntu-latest
498502
environment: release

0 commit comments

Comments
 (0)