Skip to content

Commit

Permalink
fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasLukasczyk committed Sep 19, 2023
1 parent 5d0ad11 commit 7dcc185
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ jobs:

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

steps:
- name: Check out Git repository
Expand All @@ -18,19 +20,28 @@ jobs:
with:
node-version: 16.13

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
build_script_name: build
args: --config .electron-builder.config.js --publish always
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
- name: Install Dependencies
run: 'npm install'

- name: Build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: 'npm run compile'


# - name: Build/release Electron app
# uses: samuelmeuli/action-electron-builder@v1
# with:
# build_script_name: build
# args: --config .electron-builder.config.js --publish always
# # GitHub token, automatically provided to the action
# # (No need to define this secret in the repo settings)
# github_token: ${{ secrets.github_token }}

max_attempts: 3
# max_attempts: 3

# 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') }}
# # 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 7dcc185

Please sign in to comment.