Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia committed Nov 30, 2023
1 parent 159c4ed commit 332b5f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,18 +119,20 @@ jobs:
- name: Download macOS x64 artifact
uses: actions/download-artifact@v3
with:
name: ${{ env.APP_NAME }}.darwin-x64.node
path: crates/node_binding/artifacts
- name: Download macOS arm64 artifact
uses: actions/download-artifact@v3
with:
name: ${{ env.APP_NAME }}.darwin-arm64.node
path: crates/node_binding/artifacts
- name: Combine binaries
run: cd crates/node_binding && pnpm universal
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
# name: bindings-universal-apple-darwin
path: crates/node_binding/${{ env.APP_NAME }}.*.node
name: ${{ env.APP_NAME }}.darwin-universal.node
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error
publish:
name: Publish
Expand Down

0 comments on commit 332b5f7

Please sign in to comment.