Skip to content

Commit

Permalink
(hopefully) resolve build and release issues (#11)
Browse files Browse the repository at this point in the history
* Test github build only on ubuntu

* Downgrade NodeJS to 13 to match electron ver

* Node=v14 and upgrade packages

* Only build, and on all platforms

* Install deps before build

* Disable releasing

* Reactivate release build but only on master
  • Loading branch information
laszukdawid authored Apr 16, 2022
1 parent 998bdb9 commit 6b10aec
Show file tree
Hide file tree
Showing 2 changed files with 3,944 additions and 4,537 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Build/release

on: push
on:
push:
branches:
- master

jobs:
release:
Expand All @@ -9,6 +12,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# os: [ubuntu-latest]

steps:
- name: Check out Git repository
Expand All @@ -17,15 +21,14 @@ jobs:
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
node-version: 13
node-version: 14

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
# 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') }}
Loading

0 comments on commit 6b10aec

Please sign in to comment.