Release v2.5.1 #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |