🔖 v1.0.1 #2
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
on: | |
push: | |
tags: ["*"] | |
jobs: | |
release: | |
if: startsWith(github.ref, 'refs/tags/v') | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: apt-update | |
if: startsWith(matrix.os, 'ubuntu-latest') | |
run: sudo apt-get update | |
- name: autoremove | |
if: startsWith(matrix.os, 'ubuntu-latest') | |
run: sudo apt autoremove | |
- name: Install libarchive rpm on Linux | |
if: startsWith(matrix.os, 'ubuntu-latest') | |
run: sudo apt-get install libarchive-tools rpm | |
- name: Release Electron app | |
uses: samuelmeuli/action-electron-builder@v1 | |
with: | |
github_token: ${{ secrets.github_token }} | |
release: true |