Skip to content

Release v2.5.1

Release v2.5.1 #27

Workflow file for this run

name: Build artifacts to link to release
on:
push:
tags:
- '*'
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install npm modules
run: npm ci
- name: Build and publish artifact
run: npm_config_yes=true npx electron-builder -p always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
with:
environment: production
version: ${{ steps.package-version.outputs.current-version }}
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install npm modules
run: npm ci
- name: Build and publish artifact
run: env npm_config_yes=true npx electron-builder -p always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build and publish portable artifact
run: env npm_config_yes=true npx electron-builder --win portable -p always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-mac:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install npm modules
run: npm ci
- name: Build and publish artifact
run: npm_config_yes=true npx electron-builder -p always
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}