Skip to content

release

release #7

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
jobs:
build_on_mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install -g yarn
- run: yarn install
- run: npm run 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: npm install -g yarn
- run: yarn install
- run: npm run build:win
- uses: softprops/action-gh-release@v1
with:
draft: true
files: |
dist/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}