Created
January 16, 2024 16:43
-
-
Save febeling/436ddbfda8e1c0d1ae1b47cdb38f4a37 to your computer and use it in GitHub Desktop.
Build electron app for win32 (minus code signing)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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