Colubrina/.github/workflows/desktop.yml

35 lines
960 B
YAML
Raw Normal View History

2022-08-02 21:15:16 +10:00
name: Build/release
on: push
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
with:
2022-08-02 21:16:57 +10:00
node-version: 16
2022-08-02 21:15:16 +10:00
- name: Build/release Electron 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') }}
2022-08-02 21:16:09 +10:00
package_root: "./frontend"
2022-08-02 22:25:30 +10:00
use_vue_cli: true
2022-08-03 21:26:42 +10:00
args: "-c.snap.publish=github --publish always"