ci: fix building

This commit is contained in:
Songkeys 2024-07-04 09:12:04 +08:00
parent 9752875b26
commit 6ac149f692
1 changed files with 3 additions and 1 deletions

View File

@ -41,12 +41,14 @@ jobs:
cache: "pnpm"
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
uses: johannesjo/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.GITHUB_TOKEN }}
skip_install: true
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}