From b4552cc8d1265b9b1bed0cadd4e8ad29cbcb393e Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 12 Aug 2024 16:37:17 +0800 Subject: [PATCH] download pre-built packages for scheduled runs --- .github/workflows/ecosystem-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ecosystem-ci.yml b/.github/workflows/ecosystem-ci.yml index c5a2d09..95458d2 100644 --- a/.github/workflows/ecosystem-ci.yml +++ b/.github/workflows/ecosystem-ci.yml @@ -66,12 +66,12 @@ jobs: id: setup-node - name: Download built packages (branch) - if: inputs.refType == 'branch' + if: inputs.refType == 'branch' || github.event_name == 'schedule' uses: dawidd6/action-download-artifact@v4 with: repo: ${{ inputs.repo }} workflow: upload-packages.yml - branch: ${{ inputs.ref }} + branch: ${{ github.event_name == 'schedule' && 'main' || inputs.ref }} name: packages github_token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }} path: built-packages