2022-08-02 10:10:20 +02:00
|
|
|
name: Build & release
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "v*"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
release:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [macos-latest, ubuntu-latest, windows-latest]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Check out Git repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Install Node.js
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: 16
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: npm i
|
|
|
|
|
|
|
|
- name: "Build"
|
2022-08-02 10:37:27 +02:00
|
|
|
run: npm run build
|
2022-08-02 10:10:20 +02:00
|
|
|
|
|
|
|
- name: Release
|
|
|
|
uses: ncipollo/release-action@v1
|
|
|
|
with:
|
|
|
|
artifacts: "build/*.AppImage,build/*.yml,build/*.deb,build/*.dmg,build/*.blockmap,build/*.zip,build/*.exe"
|
|
|
|
allowUpdates: true
|
|
|
|
draft: true
|
|
|
|
generateReleaseNotes: true
|