diff --git a/.github/workflows/publish-v2.yml b/.github/workflows/publish-v2.yml index 67ce0bdb2..65b7b95b5 100644 --- a/.github/workflows/publish-v2.yml +++ b/.github/workflows/publish-v2.yml @@ -7,6 +7,10 @@ on: required: true description: 'The environment to publish to' default: 'staging' + build_run_id: + type: number + required: true + description: 'The build run id' jobs: publish: runs-on: ubuntu-latest @@ -24,9 +28,11 @@ jobs: - name: Install dependencies run: npm install - - name: Download artifacts - uses: actions/download-artifact@v2 + + - name: Download workflow artifact + uses: dawidd6/action-download-artifact@v3.1.4 with: + run_id: ${{ inputs.build_run_id }} name: package path: build/ diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index dabf820fe..a56bf9205 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -17,4 +17,4 @@ jobs: needs: call-build with: environment: staging - + build_run_id: ${{ github.run_id }}