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 b364772 commit 7f50358
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: bindings-${{ matrix.settings.target }}
# name: bindings-${{ matrix.settings.target }}
path: crates/node_binding/${{ env.APP_NAME }}.*.node
if-no-files-found: error
universal-macOS:
Expand All @@ -117,19 +117,17 @@ 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
# name: bindings-universal-apple-darwin
path: crates/node_binding/${{ env.APP_NAME }}.*.node
if-no-files-found: error
publish:
Expand Down
2 changes: 1 addition & 1 deletion crates/node_binding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"license": "MIT",
"devDependencies": {
"@napi-rs/cli": "^2.16.3"
"@napi-rs/cli": "^2.16.4"
},
"ava": {
"timeout": "3m"
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f50358

Please sign in to comment.