2021-04-07 11:00:09 +00:00
|
|
|
name: Main
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-04-07 13:38:58 +00:00
|
|
|
# tags:
|
|
|
|
# - 'v*.*.*'
|
|
|
|
branches:
|
|
|
|
- main
|
2021-04-07 11:00:09 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
env:
|
2021-04-07 12:52:53 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- 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 }}
|