Skip to content

Build/release

Build/release #10

Workflow file for this run

name: Build/release
on:
push:
branches:
- master
paths:
- 'src/**'
workflow_dispatch:
jobs:
mac:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 9.9.0
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org/'
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
- name: build mac Electron app
run: pnpm electron:build:mac
- name: Upload File
uses: actions/[email protected]
with:
name: mac
path: dist_electron