Skip to content

ui: hide debug toggle by default #13

ui: hide debug toggle by default

ui: hide debug toggle by default #13

Workflow file for this run

name: Build Installers
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-mac:
runs-on: macos-latest
strategy:
matrix:
arch: [x64, arm64]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
registry-url: 'https://npm.pkg.github.com'
scope: '@github'
- name: Install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build installer
run: npm run clean:extraneous && npm run build && npx electron-builder --mac --${{ matrix.arch }}
env:
CSC_IDENTITY_AUTO_DISCOVERY: false
- name: Upload macOS ${{ matrix.arch }} artifact
uses: actions/upload-artifact@v4
with:
name: macos-installer-${{ matrix.arch }}
path: build/electron/*.dmg
if-no-files-found: error
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
registry-url: 'https://npm.pkg.github.com'
scope: '@github'
- name: Install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build installer
run: npm run build:installer:win
- name: Upload Windows artifacts
uses: actions/upload-artifact@v4
with:
name: windows-installer
path: build/electron/*.exe
if-no-files-found: error