mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
chore: fixing build flow
This commit is contained in:
parent
7000b44fa4
commit
5f4d4e397d
1 changed files with 4 additions and 9 deletions
13
.github/workflows/publish.yml
vendored
13
.github/workflows/publish.yml
vendored
|
|
@ -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
|
||||
Loading…
Reference in a new issue