Skip to content

chore: 同步当前代码 #2

chore: 同步当前代码

chore: 同步当前代码 #2

Workflow file for this run

name: build-macos
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
build:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
arch: [x64, arm64]
env:
CSC_IDENTITY_AUTO_DISCOVERY: "false"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm ci
- run: npm run electron:build:mac -- --${{ matrix.arch }}
- uses: actions/upload-artifact@v4
with:
name: macos-${{ matrix.arch }}
path: dist-electron