mirror of
https://github.com/asphyxia-core/core.git
synced 2026-12-05 07:26:20 -06:00
fastererer arm build
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -50,7 +50,7 @@ jobs:
|
||||
apt install -y curl zip
|
||||
curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
||||
apt install -y nodejs
|
||||
|
||||
npx
|
||||
run: |
|
||||
bash build-arm-build.sh
|
||||
- run: bash build-arm-post.sh
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Packing binaries"
|
||||
cd ..
|
||||
npx pkg ./build-env -t node10.15.3-linux-armv7 -o ./build/asphyxia-core --options no-warnings
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
mkdir -p build
|
||||
|
||||
regex='VERSION = '"'"'(.*)'"'"''
|
||||
regex='VERSION = '"'"'([a-z0-9.]*)'"'"''
|
||||
[[ $(cat ./src/utils/Consts.ts) =~ $regex ]]
|
||||
|
||||
VERSION=${BASH_REMATCH[1]}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
mkdir -p build
|
||||
|
||||
regex='VERSION = '"'"'(.*)'"'"''
|
||||
regex='VERSION = '"'"'([a-z0-9.]*)'"'"''
|
||||
[[ $(cat ./src/utils/Consts.ts) =~ $regex ]]
|
||||
|
||||
VERSION=${BASH_REMATCH[1]}
|
||||
|
||||
Reference in New Issue
Block a user