mirror of
https://github.com/cupcakearmy/unpixel.git
synced 2024-12-23 00:26:27 +00:00
29 lines
585 B
YAML
29 lines
585 B
YAML
|
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 }}
|