Skip to content

Commit

Permalink
worky worky please
Browse files Browse the repository at this point in the history
  • Loading branch information
PMK744 committed Jun 20, 2024
1 parent 3e6aa86 commit 5349a4b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ jobs:
run: ${{ matrix.settings.build }}
if: ${{ !matrix.settings.docker }}
shell: bash
- name: Rename If Darwin
run: |
if [[ ${{ matrix.settings.target }} == "x86_64-apple-darwin" ]]; then
mv binarystream.darwin-arm64.node binarystream.darwin-x64.node
fi
shell: bash

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"cpu": [
"x64"
],
"main": "binarystream.darwin-x64.node",
"main": "binarystream.darwin-arm64.node",
"files": [
"binarystream.darwin-x64.node"
"binarystream.darwin-arm64.node"
],
"license": "MIT",
"engines": {
Expand Down

0 comments on commit 5349a4b

Please sign in to comment.