From 04bf8a849123f4844e2461d6d3fbf7f336d93259 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 9 Nov 2022 16:05:26 +0530 Subject: [PATCH] chore: navigate to better-sqlite folder to build binary Signed-off-by: Pranav C --- .github/workflows/release-timely-executables.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release-timely-executables.yml b/.github/workflows/release-timely-executables.yml index 561400ec6e..c332a647f5 100644 --- a/.github/workflows/release-timely-executables.yml +++ b/.github/workflows/release-timely-executables.yml @@ -111,19 +111,27 @@ jobs: # build executables # npm run build + cd ./node_modules/better-sqlite3; npx prebuild-install --platform=darwin --arch=arm64 --build-from-source || npx prebuild --platform=darwin --arch=arm64 --build-from-source + cd ../..; npx pkg . --compress GZip -t node16-macos-arm64 -o Noco-macos-arm64 mv ./Noco-macos-arm64 ./mac-dist/ + cd ./node_modules/better-sqlite3; npx prebuild-install --platform=darwin --arch=x64 --build-from-source || npx prebuild --platform=darwin --arch=x64 --build-from-source + cd ../..; npx pkg . --compress GZip -t node16-macos-x64 -o Noco-macos-x64 mv ./Noco-macos-x64 ./mac-dist/ + cd ./node_modules/better-sqlite3; npx prebuild-install --platform=linux --arch=x64 --build-from-source || npx prebuild --platform=linux --arch=x64 --build-from-source + cd ../..; npx pkg . --compress GZip -t node16-linux-x64 -o Noco-linux-x64 mv ./Noco-linux-x64 ./dist/ + cd ./node_modules/better-sqlite3; npx prebuild-install --platform=linux --arch=arm64 --build-from-source || npx prebuild --platform=linux --arch=arm64 --build-from-source + cd ../..; npx pkg . --compress GZip -t node16-linux-arm64 -o Noco-linux-arm64 mv ./Noco-linux-arm64 ./dist/