Skip to content

Commit

Permalink
Refactor build command in windows-build.yml: Update NSIS installation…
Browse files Browse the repository at this point in the history
… and add x64 architecture support
  • Loading branch information
minai621 committed Oct 18, 2024
1 parent 376741f commit 399539a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 33 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
}
shell: pwsh

- name: Clear npm cache
run: npm cache clean --force

- name: Install Dependencies
run: pnpm install --prefer-offline --no-frozen-lockfile
working-directory: ./native
Expand All @@ -45,7 +48,7 @@ jobs:
working-directory: ./native

- name: Create NSIS Installer
run: pnpx electron-builder --win --publish always
run: pnpm run electron-builder -- --win --publish always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./native
Expand Down
2 changes: 1 addition & 1 deletion native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/node": "^22.7.6",
"cross-env": "^7.0.3",
"electron": "^33.0.1",
"electron-builder": "24.9.1",
"electron-builder": "24.6.4",
"typescript": "^5.3.3"
},
"build": {
Expand Down
62 changes: 31 additions & 31 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 399539a

Please sign in to comment.