release #43
This file contains hidden or 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: release | |
on: | |
push: | |
tags: | |
- 'v*.*.*' | |
workflow_dispatch: | |
inputs: | |
tags: | |
description: 'Test scenario tags' | |
# Example: | |
# git commit -am v1.0.9 | |
# git tag v1.0.9 | |
# git push && git push --tags | |
jobs: | |
release: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Install Node.js, NPM and Yarn | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 21 | |
- name: Build/release Electron app | |
uses: classfang/[email protected] | |
with: | |
# GitHub token, automatically provided to the action | |
github_token: ${{ secrets.github_token }} | |
release: true |