Skip to content

Commit

Permalink
chore: action
Browse files Browse the repository at this point in the history
  • Loading branch information
funnyzak committed Oct 28, 2021
1 parent 1bccf7b commit e1c3fbc
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,17 @@ jobs:
working-directory: ./
run: |
npm install
npm run build
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
build_script_name: dist
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
args: --config electron.builder.js
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: false
- name: Archive Dist
uses: papeloto/action-zip@v1
with:
Expand All @@ -44,14 +54,3 @@ jobs:
with:
files: |
${{ matrix.os }}_binary.zip
# - name: Build/release Electron app
# uses: samuelmeuli/action-electron-builder@v1
# with:
# build_script_name: dist
# # GitHub token, automatically provided to the action
# # (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') }}

0 comments on commit e1c3fbc

Please sign in to comment.