Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhbtz authored Dec 12, 2024
1 parent 529ed52 commit f182bb6
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,24 @@ name: Build/release
on: push

jobs:
release:
runs-on: ${{ matrix.os }}
release:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]

steps:
- name: Check out Git repository
uses: actions/checkout@v1
steps:
- name: Check out Git repository
uses: actions/checkout@v1

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 20
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 20

- name: Compile Electron App
uses: x6Pnda/action-electron-compiler@v1.0.1
with:
github_token: ${{ secrets.github_token }}
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
package_manager: NPM
skip_build: false
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
github_token: ${{ secrets.github_token }}
release: ${{ startsWith(github.ref, 'refs/tags/v') }}

0 comments on commit f182bb6

Please sign in to comment.