Browse Source

chore: correction in binary build

Signed-off-by: Pranav C <pranavxc@gmail.com>
feat/better-sqlite3
Pranav C 2 years ago committed by mertmit
parent
commit
0480efef30
  1. 16
      .github/workflows/release-timely-executables.yml

16
.github/workflows/release-timely-executables.yml

@ -112,25 +112,29 @@ jobs:
# build executables # build executables
# npm run build # npm run build
cd ./node_modules/better-sqlite3; cd ./node_modules/better-sqlite3;
npx prebuild-install --platform=darwin --arch=arm64 --build-from-source || npx prebuild --platform=darwin --arch=arm64 --build-from-source rm -r ./build
npx prebuild-install --platform=darwin --arch=arm64 || npx prebuild --platform=darwin --arch=arm64
cd ../..; cd ../..;
npx pkg . --compress GZip -t node16-macos-arm64 -o Noco-macos-arm64 npx pkg . --compress GZip -t node16-macos-arm64 -o Noco-macos-arm64
mv ./Noco-macos-arm64 ./mac-dist/ mv ./Noco-macos-arm64 ./mac-dist/
cd ./node_modules/better-sqlite3; cd ./node_modules/better-sqlite3;
npx prebuild-install --platform=darwin --arch=x64 --build-from-source || npx prebuild --platform=darwin --arch=x64 --build-from-source rm -r ./build
npx prebuild-install --platform=darwin --arch=x64 || npx prebuild --platform=darwin --arch=x64
cd ../..; cd ../..;
npx pkg . --compress GZip -t node16-macos-x64 -o Noco-macos-x64 npx pkg . --compress GZip -t node16-macos-x64 -o Noco-macos-x64
mv ./Noco-macos-x64 ./mac-dist/ mv ./Noco-macos-x64 ./mac-dist/
cd ./node_modules/better-sqlite3; cd ./node_modules/better-sqlite3;
npx prebuild-install --platform=linux --arch=x64 --build-from-source || npx prebuild --platform=linux --arch=x64 --build-from-source rm -r ./build
npx prebuild-install --platform=linux --arch=x64 || npx prebuild --platform=linux --arch=x64
cd ../..; cd ../..;
npx pkg . --compress GZip -t node16-linux-x64 -o Noco-linux-x64 npx pkg . --compress GZip -t node16-linux-x64 -o Noco-linux-x64
mv ./Noco-linux-x64 ./dist/ mv ./Noco-linux-x64 ./dist/
cd ./node_modules/better-sqlite3; cd ./node_modules/better-sqlite3;
npx prebuild-install --platform=linux --arch=arm64 --build-from-source || npx prebuild --platform=linux --arch=arm64 --build-from-source rm -r ./build
npx prebuild-install --platform=linux --arch=arm64 || npx prebuild --platform=linux --arch=arm64
cd ../..; cd ../..;
npx pkg . --compress GZip -t node16-linux-arm64 -o Noco-linux-arm64 npx pkg . --compress GZip -t node16-linux-arm64 -o Noco-linux-arm64
mv ./Noco-linux-arm64 ./dist/ mv ./Noco-linux-arm64 ./dist/
@ -193,3 +197,7 @@ jobs:
repo_name: nocodb/nocodb-timely repo_name: nocodb/nocodb-timely

Loading…
Cancel
Save