chore: fixing build flow

This commit is contained in:
Kacper Kula 2024-08-10 16:29:42 +01:00
parent 7000b44fa4
commit 5f4d4e397d

View file

@ -16,18 +16,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Recompile Better SQLite3 for Electron
run: |
npm run rebuild
- name: Build plugin
run: |
npm install
npm run build
- name: Recompile Better SQLite3 for Electron
run: |
npm run rebuild
- name: Copy better SQLite3 to plugin
run: |
cp -r node_modules/better-sqlite3/build/Release/better_sqlite3.node .
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -37,4 +32,4 @@ jobs:
gh release create "$tag" \
--title="$tag" \
--draft \
main.js manifest.json styles.css better_sqlite3.node
main.js manifest.json styles.css