mirror of
https://github.com/cupcakearmy/unpixel.git
synced 2024-12-22 08:06:33 +00:00
workflow
This commit is contained in:
parent
2f553e517a
commit
a8c119d3ff
30
.github/workflows/release.yml
vendored
Normal file
30
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Main
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*.*.*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-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
|
||||||
|
*.exe
|
||||||
|
*.snap
|
||||||
|
*.AppImage
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user