Skip to content

Merge pull request #121 from xpadev-net/develop #40

Merge pull request #121 from xpadev-net/develop

Merge pull request #121 from xpadev-net/develop #40

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: 20
- run: npm install
- run: npm uninstall win-protect
- 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: 20
- run: npm install
- run: npm run build:win
- uses: softprops/action-gh-release@v1
with:
draft: true
files: |
dist/*.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}