Create packages #3
Workflow file for this run
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: Create packages | |
on: | |
workflow_dispatch: | |
# push: | |
# tags: | |
# - '*' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
image: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.image }} | |
env: | |
CSC_IDENTITY_AUTO_DISCOVERY: true | |
CSC_LINK: ${{ secrets.CSC_LINK }} | |
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: 'npm' | |
- name: Install dependencies (Node.js) | |
run: npm ci | |
- name: Build electron app | |
run: npm run build:electron | |
- name: build package | |
run: npx electron-builder build --x64 --arm64 --publish never | |
- name: Upload built packages | |
uses: actions/upload-artifact@v4 | |
with: | |
name: artifact-${{ matrix.image }} | |
path: release/ |