Skip to content

Add manual dispatch workflow as well #5

Add manual dispatch workflow as well

Add manual dispatch workflow as well #5

Workflow file for this run

name: Publish executables
on:
push:
branches:
- master
workflow_dispatch:
jobs:
publish:
strategy:
matrix:
include:
- os: ubuntu-latest
name: linux
- os: windows-latest
name: windows
- os: macos-latest
name: macos
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout git repo
uses: actions/checkout@v3
- name: Install Node and NPM
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
- name: Install dependencies
run: npm install
- name: Build and publish binaries
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run build-${{ matrix.name }}