diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b823570..99aa58b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -26,6 +26,9 @@ jobs: - name: Set version from tag run: npm version "${GITHUB_REF_NAME#v}" --no-git-tag-version --allow-same-version + - name: Rebuild native modules for Linux + run: npx --yes @electron/rebuild --platform=linux --arch=x64 + - name: Make App (Linux) run: npm run make -- --platform=linux --arch=x64 @@ -37,6 +40,11 @@ jobs: env: WINEDEBUG: '-all' + - name: Rebuild native modules for Windows + run: npx --yes @electron/rebuild --platform=win32 --arch=x64 --only=better-sqlite3,keytar + env: + WINEDEBUG: '-all' + - name: Make App (Windows) run: npm run make -- --platform=win32 --arch=x64 env: