Skip to content

Commit

Permalink
fix download artifact for testnet workflow (#1827)
Browse files Browse the repository at this point in the history
* download artifact with event workflow_run id

* fix download artifact for testnet workflow
  • Loading branch information
yourmoonlight authored Jun 5, 2024
1 parent 1819e4b commit 27aed78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy_testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,12 @@ jobs:

- name: Download Docker tag artifact
if: github.event_name == 'workflow_run'
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: docker_tag
path: .
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GIT_PACKAGE_TOKEN }}

- name: Determine ref
id: determine-ref
Expand Down

0 comments on commit 27aed78

Please sign in to comment.