mirror of
https://github.com/litruv/picoGraph.git
synced 2026-07-24 02:36:04 +10:00
chore: add electron builder workflow
This commit is contained in:
34
.github/workflows/windows-build.yml
vendored
Normal file
34
.github/workflows/windows-build.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: Windows Build
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: npm
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Generate Windows icons
|
||||
run: npm run prebuild:win
|
||||
|
||||
- name: Build Windows artifacts
|
||||
uses: electron-builder/action@v1
|
||||
with:
|
||||
args: --win --x64
|
||||
Reference in New Issue
Block a user