Skip to content

chore: bump version to 0.1.2 in package.json #4

chore: bump version to 0.1.2 in package.json

chore: bump version to 0.1.2 in package.json #4

Workflow file for this run

name: Build Release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
artifact_name: linux-build
build_script: dist:linux
- os: windows-latest
artifact_name: windows-build
build_script: dist:win
- os: macos-latest
artifact_name: macos-build
build_script: dist:mac
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Build and publish release artifacts
env:
CSC_IDENTITY_AUTO_DISCOVERY: "false"
# electron-builder uploads each platform’s installers to the tag’s GitHub Release
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run ${{ matrix.build_script }}
- name: Upload build artifacts (CI backup)
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact_name }}
path: dist/**
if-no-files-found: error