This commit is contained in:
cupcakearmy 2021-04-07 13:00:09 +02:00
parent 50a24f847f
commit 67276e0119
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
1 changed files with 29 additions and 0 deletions

29
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: Main
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: yarn install --frozen-lockfile
- name: Build
run: yarn run dist
- run: ls out
- name: Create release
uses: softprops/action-gh-release@v0.1.5
with:
files: |
*.dmg
*.deb
*.AppImage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}