Skip to content

Commit

Permalink
Github Actions for macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Jan 2, 2025
1 parent f4903cc commit d3411b9
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build for macOS

on: workflow_dispatch

jobs:
build:
strategy:
matrix:
os: [macos-15-arm64, macos-15]

runs-on: "${{ matrix.os }}"

steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Cache NodeJS modules
uses: actions/cache@v4
with:
path: |
./node_modules
./app/node_modules
key: ${{ runner.OS }}-node-${{ hashFiles('yarn.lock') }}-${{ hashFiles('app/package-lock.json') }}

- name: Install Dependencies
run: npm ci

- name: Setup Keychain
run: npm run ci-setup-mac-keychain

- name: Lint
run: npm run lint

- name: Build
run: DEBUG=electron-packager,electron-osx-sign npm run build

0 comments on commit d3411b9

Please sign in to comment.