Skip to content

chore: bump version to v1.3.2 #9

chore: bump version to v1.3.2

chore: bump version to v1.3.2 #9

Workflow file for this run

name: Build/release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
strategy:
matrix:
include:
- os: macos-latest
platform: mac
- os: ubuntu-latest
platform: linux
- os: windows-latest
platform: win
runs-on: ${{ matrix.os }}
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build Electron app
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if [ "${{ matrix.platform }}" = "mac" ]; then
npm run build-mac
elif [ "${{ matrix.platform }}" = "linux" ]; then
npm run build-linux
elif [ "${{ matrix.platform }}" = "win" ]; then
npm run build-win
fi
shell: bash
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: dist-${{ matrix.platform }}
path: dist/
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dist/*.dmg
dist/*.zip
dist/*.exe
dist/*.AppImage
dist/*.deb
dist/*.yml
token: ${{ secrets.GITHUB_TOKEN }}