Try making node build on arm

This commit is contained in:
dannylin0711
2023-06-25 17:52:26 +08:00
parent 355f473c5a
commit 0a2969b8bd
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ jobs:
apt-get install -y nodejs
run: |
bash build-arm-build.sh
sudo bash build-arm-build.sh
- run: bash build-arm-post.sh
- uses: actions/upload-artifact@v2
with:

View File

@@ -1,5 +1,5 @@
#!/bin/bash
echo "Packing binaries"
npx pkg ./build-env -t node16-linuxstatic-armv7 -o ./build/asphyxia-core --options no-warnings
npx pkg ./build-env -t node16-linux-armv7 -o ./build/asphyxia-core --options no-warnings
# npx pkg ./build-env -t node16-linux-arm64 -o ./build/asphyxia-core --options no-warnings

View File

@@ -38,7 +38,7 @@
"memorystore": "^1.6.2",
"multer": "^1.4.2",
"open": "^7.0.4",
"pkg": "5.6.0",
"pkg": "5.8.1",
"prettier": "^2.0.5",
"pretty-bytes": "^5.6.0",
"pug": "^3.0.2",