Update release.yml

This commit is contained in:
Martin McKeaveney 2020-05-14 22:03:32 +01:00 committed by GitHub
parent 65c2833886
commit d7df6d53c4
1 changed files with 8 additions and 3 deletions

View File

@ -6,11 +6,10 @@ on:
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
node-version: [10.x] node-version: [10.x]
steps: steps:
@ -36,6 +35,12 @@ jobs:
# env: # env:
# NODE_AUTH_TOKEN: ${{secrets.npm_token}} # NODE_AUTH_TOKEN: ${{secrets.npm_token}}
publish-electron:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Build/release Electron app - name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1 uses: samuelmeuli/action-electron-builder@v1
with: with:
@ -45,7 +50,7 @@ jobs:
# release the app after building # release the app after building
package_root: packages/server package_root: packages/server
release: true release: true
# mac_certs: ${{ secrets.mac_certs }} # mac_certs: ${{ secrets.mac_certs }}
# mac_certs_password: ${{ secrets.mac_certs_password }} # mac_certs_password: ${{ secrets.mac_certs_password }}
# windows_certs: ${{ secrets.windows_certs }} # windows_certs: ${{ secrets.windows_certs }}