Skip to content

Commit

Permalink
set arch on arm64 publish cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-page committed May 4, 2024
1 parent 7bfac8a commit 3249e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- run: curl -s https://nodejs.org/download/release/$(node --version)/node-$(node --version)-linux-arm64.tar.gz > /tmp/nodearm64.tgz
- run: npm i --ignore-scripts
- run: CCARCH=aarch64-linux-gnu CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ CC_host="gcc" CXX_host="g++" ./node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp rebuild package --tarball /tmp/nodearm64.tgz --arch=arm64
- run: ./node_modules/node-pre-gyp-github/bin/node-pre-gyp-github publish --release
- run: ./node_modules/node-pre-gyp-github/bin/node-pre-gyp-github publish --release --arch=arm64

# publish-gpr:
# needs: build
Expand Down

0 comments on commit 3249e8e

Please sign in to comment.