From 27aed78378e378cf7293be66067abc3b33954d87 Mon Sep 17 00:00:00 2001 From: yourmoonlight Date: Wed, 5 Jun 2024 22:01:31 +0800 Subject: [PATCH] fix download artifact for testnet workflow (#1827) * download artifact with event workflow_run id * fix download artifact for testnet workflow --- .github/workflows/deploy_testnet.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_testnet.yml b/.github/workflows/deploy_testnet.yml index f09d9081a5..646be23448 100644 --- a/.github/workflows/deploy_testnet.yml +++ b/.github/workflows/deploy_testnet.yml @@ -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