Skip to content

Commit 5feb80e

Browse files
committed
update action
1 parent 50908f5 commit 5feb80e

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,19 @@ jobs:
1717
- name: Check out Git repository
1818
uses: actions/checkout@v3
1919

20-
- name: Setup Node.js & yarn install if no cache exists
20+
- name: Install Node.js, NPM and Yarn
2121
uses: actions/setup-node@v3
2222
with:
2323
node-version: 16
24-
cache: "yarn"
25-
- run: yarn install --frozen-lockfile
2624

2725
- name: Build/release Electron app
28-
run: yarn run quasar build --mode electron --publish always
26+
uses: ResearchHelper/action-electron-builder@master
27+
with:
28+
# GitHub token, automatically provided to the action
29+
# (No need to define this secret in the repo settings)
30+
github_token: ${{ secrets.github_token }}
31+
# skip build script in package.json
32+
# jump to the electron-builder build directly
33+
skip_build: true
34+
# release the app after building
35+
release: true

0 commit comments

Comments
 (0)