Skip to content

refactor: restructure project with Electron Forge and layer-based arc… #1

refactor: restructure project with Electron Forge and layer-based arc…

refactor: restructure project with Electron Forge and layer-based arc… #1

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build:
name: Build ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build app
run: bun run make
env:
# Skip code signing for CI builds
CSC_IDENTITY_AUTO_DISCOVERY: false
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: build-${{ matrix.os }}
path: |
out/make/**/*.dmg
out/make/**/*.zip
out/make/**/*.deb
out/make/**/*.rpm
out/make/**/*.AppImage
retention-days: 7