Skip to content

chore: kill the troll #33

chore: kill the troll

chore: kill the troll #33

Workflow file for this run

name: Build and Release
on:
push:
branches:
- electron
permissions:
contents: write
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
# - ubuntu-latest
# - windows-latest
include:
- os: macos-latest
make_command: make:mac
- os: ubuntu-latest
make_command: make:linux
- os: windows-latest
make_command: make:win
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: |
npm install -g @electron-forge/cli
npm ci
- name: Make Electron app
run: npm run ${{ matrix.make_command }}
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}-build
path: |
out/make/**/*.exe
out/make/**/*.msi
out/make/**/*.dmg
out/make/**/*.zip
if-no-files-found: error
- name: Publish Electron app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run publish