Skip to content

release

release #16

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
build_on_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- run: yarn remove win-protect
- run: yarn build:mac
- uses: softprops/action-gh-release@v1
with:
draft: true
files: |
dist/*.dmg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build_on_win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install
- run: yarn build:win
- uses: softprops/action-gh-release@v1
with:
draft: true
files: |
dist/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}