updated config builder

This commit is contained in:
2020-02-13 16:26:28 +07:00
parent e28a03ac4c
commit 4f886b1dfc
5 changed files with 42 additions and 122 deletions

View File

@@ -11,7 +11,7 @@ jobs:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
- name: Check out Git repository on Clinic Sandbox
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
@@ -19,13 +19,10 @@ jobs:
with:
node-version: 10
- name: Build/release Electron app
- name: Build/release Clinic Desktop App
uses: samuelmeuli/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}