Skip to content

pre-release

pre-release #17

Workflow file for this run

name: pre-release
on:
workflow_dispatch:
inputs:
version:
description: 'Release version (e.g., 0.0.2)'
required: true
jobs:
pre-release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Build resources
run: npm run build
- name: Build with electron-builder
uses: samuelmeuli/action-electron-builder@v1
with:
github_token: ${{ secrets.github_token }}
release: true
args: -c.extraMetadata.version=${{ github.event.inputs.version }} -c.publish.releaseType=prerelease