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 4b3a37f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build for macOS

on: workflow_dispatch

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

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('package-lock.json') }}-${{ 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 4b3a37f

Please sign in to comment.