mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 06:02:22 -05:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: Electron
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
env:
|
|
CI: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
|
|
|
|
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
|