Skip to content

Commit

Permalink
ci(workflow): fix wasm upload name collision
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Jan 25, 2024
1 parent 3b31878 commit 2e8e3a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -383,13 +383,13 @@ jobs:
- name: Upload turbo summary artifact
uses: actions/upload-artifact@v4
with:
name: turbo-run-summary-wasm
name: turbo-run-summary-wasm-${{matrix.target}}
path: .turbo/runs

- name: Upload swc artifact
uses: actions/upload-artifact@v4
with:
name: wasm-binaries
name: wasm-binaries-${{matrix.target}}
path: packages/next-swc/crates/wasm/pkg-*

publishRelease:
Expand Down Expand Up @@ -433,6 +433,8 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: wasm-binaries
pattern: wasm-binaries-*
merge-multiple: true
path: packages/next-swc/crates/wasm

- run: npm i -g npm@9.6.7 # need latest version for provenance (pinning to avoid bugs)
Expand Down

0 comments on commit 2e8e3a9

Please sign in to comment.