Update release.yml
This commit is contained in:
parent
4689142912
commit
81902510c8
|
@ -5,11 +5,13 @@ on:
|
|||
types: [created]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
release:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
# Platforms to build on/for
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
node-version: [10.x]
|
||||
|
||||
steps:
|
||||
|
@ -23,25 +25,14 @@ jobs:
|
|||
- run: yarn build
|
||||
# - run: yarn test
|
||||
|
||||
# publish-npm:
|
||||
# needs: build
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: actions/setup-node@v1
|
||||
# with:
|
||||
# node-version: ${{ matrix.node-version }}
|
||||
# - name: Publish NPM
|
||||
# run: npm publish
|
||||
# env:
|
||||
# NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
||||
# - run: npm publish
|
||||
# env:
|
||||
# NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
||||
|
||||
publish-electron:
|
||||
needs: [build]
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
steps:
|
||||
- name: Build/release Electron app
|
||||
uses: samuelmeuli/action-electron-builder@v1
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue