From d07f6d1fecd295f4b59fcdc9f43da8efae95a428 Mon Sep 17 00:00:00 2001 From: zerosnacks Date: Thu, 18 Sep 2025 15:43:21 +0200 Subject: [PATCH] move download of artifacts post build --- .github/workflows/npm.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 79f9c45604119..77495abec07e5 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -76,17 +76,6 @@ jobs: mkdir -p "$ARTIFACT_DIR" ls -la "$ARTIFACT_DIR" || true - - name: Download Release Assets - uses: actions/download-artifact@v5 - with: - merge-multiple: true - # Download all foundry artifacts from the triggering release run - pattern: "foundry_*" - # Extract artifacts into an isolated temp directory, not the workspace - path: ${{ steps.paths.outputs.artifact_dir }} - github-token: ${{ secrets.GITHUB_TOKEN }} - run-id: ${{ github.event.workflow_run.id || inputs.run_id }} - - name: Setup Bun uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2 with: @@ -106,6 +95,17 @@ jobs: working-directory: ./npm run: bun run build + - name: Download Release Assets + uses: actions/download-artifact@v5 + with: + merge-multiple: true + # Download all foundry artifacts from the triggering release run + pattern: "foundry_*" + # Extract artifacts into an isolated temp directory, not the workspace + path: ${{ steps.paths.outputs.artifact_dir }} + github-token: ${{ secrets.GITHUB_TOKEN }} + run-id: ${{ github.event.workflow_run.id || inputs.run_id }} + - name: Derive RELEASE_VERSION id: release-version working-directory: ./npm