Update build.yml

This commit is contained in:
Thomas Roque 2023-05-01 13:47:27 +02:00 committed by GitHub
parent 12c79e566f
commit ae75bdbc85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,13 @@ jobs:
run: npm ci run: npm ci
shell: bash shell: bash
- name: Build - name: Build/release Electron app
env: uses: samuelmeuli/action-electron-builder@v1
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} with:
run: npm run dist # GitHub token, automatically provided to the action
shell: bash # (No need to define this secret in the repo settings)
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') }}