diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 40efac8..98eb6fa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 \ No newline at end of file + main.js manifest.json styles.css \ No newline at end of file