build: use electron forge

This commit is contained in:
leukipp
2024-12-14 19:19:55 +01:00
parent 1dd3b97b45
commit b6d8b89aed
4 changed files with 1411 additions and 766 deletions
+33
View File
@@ -0,0 +1,33 @@
name: Release
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [arm64]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install yarn
run: npm install --global yarn
- name: Install dependencies
run: yarn install
- name: Publish release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
yarn electron-forge publish --arch arm64