Update build.yml
This commit is contained in:
parent
ae75bdbc85
commit
32da659f58
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@ -31,13 +31,8 @@ jobs:
|
|||||||
run: npm ci
|
run: npm ci
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build/release Electron app
|
- name: Build
|
||||||
uses: samuelmeuli/action-electron-builder@v1
|
env:
|
||||||
with:
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
# GitHub token, automatically provided to the action
|
run: npm run dist
|
||||||
# (No need to define this secret in the repo settings)
|
shell: bash
|
||||||
github_token: ${{ secrets.github_token }}
|
|
||||||
|
|
||||||
# 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') }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user