Skip to content

Instantly share code, notes, and snippets.

@febeling
Created January 16, 2024 16:43
Show Gist options
  • Save febeling/436ddbfda8e1c0d1ae1b47cdb38f4a37 to your computer and use it in GitHub Desktop.
Save febeling/436ddbfda8e1c0d1ae1b47cdb38f4a37 to your computer and use it in GitHub Desktop.
Build electron app for win32 (minus code signing)
name: win32 Build
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup node20
uses: actions/setup-node@v2
with:
node-version: 20
- name: Install Yarn
run: npm install -g yarn
- name: Install dependencies
run: yarn install
- name: Run Jest tests
run: yarn test
- name: Build Electron Forge App
run: yarn make
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: electron-artifacts
path: |
out/make/zip/
out/make/squirrel.windows/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment