Update package.yml #2
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: Electron Build | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Setup NodeJs v20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm i | |
- run: npx electron-forge import | |
- run: npm run make | |
- name: Upload shipped build as artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Yomea | |
path: out/make/ |