Skip to content

Commit

Permalink
chore(.github): Update build workflow for Node.js 16 and Electron com…
Browse files Browse the repository at this point in the history
…piler
  • Loading branch information
FormalSnake committed Dec 7, 2024
1 parent e9b98e4 commit 951c498
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,23 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 10
node-version: 16

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
- name: Compile Electron App
uses: x6Pnda/action-electron-compiler@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
# (Optional)
github_token: ${{ secrets.github_token }}

# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
# (Optional)
release: ${{ startsWith(github.ref, 'refs/tags/v') }}

# Package manager. NPM, PNPM and Yarn supported. Install Yarn and PNPM yourself. Default is NPM
# (Optional)
package_manager: NPM

# Skip buiding the application
# (Optional)
skip_build: false

0 comments on commit 951c498

Please sign in to comment.