Colubrina/.github/workflows/desktop.yml

36 lines
946 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
2022-08-06 20:20:00 +10:00
uses: samuelmeuli/action-electron-builder@v1.6.0
2022-08-02 21:15:16 +10:00
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
2022-08-06 20:51:44 +10:00
release: true
draft: true
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"