forked from actualbudget/actual
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 (ci) fork the electron build job - master and PR (actualbudget#2209)
- Loading branch information
1 parent
9e69348
commit 9fc2486
Showing
3 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Electron | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
env: | ||
CI: true | ||
|
||
on: | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
- macos-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- if: ${{ startsWith(matrix.os, 'windows') }} | ||
run: pip.exe install setuptools | ||
- if: ${{ ! startsWith(matrix.os, 'windows') }} | ||
run: python3 -m pip install setuptools | ||
- name: Set up environment | ||
uses: ./.github/actions/setup | ||
- name: Build Electron | ||
run: ./bin/package-electron | ||
- name: Upload Build | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: actual-electron-${{ matrix.os }} | ||
path: | | ||
packages/desktop-electron/dist/*.dmg | ||
packages/desktop-electron/dist/*.exe | ||
packages/desktop-electron/dist/*.AppImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
category: Maintenance | ||
authors: [MatissJanis] | ||
--- | ||
|
||
electron: split the build script in 2x parts to fix it failing when no code signing cert is provided (PRs from forks). |