-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.17 KB
/
executable-publish.yml
File metadata and controls
42 lines (39 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: Executable package
on:
release:
types: [created, edited]
jobs:
build:
permissions:
contents: write
strategy:
matrix:
os: [macos-latest, macos-13, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install UI deps
run: npm i
working-directory: ui
- name: Install desktop deps
run: npm i
working-directory: desktop-app
- name: Build UI
run: npm run build
working-directory: ui
- name: Build Desktop
run: npm run make
working-directory: desktop-app
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
desktop-app/out/make/**/*.dmg
desktop-app/out/make/**/*.exe
desktop-app/out/make/**/*.msi
desktop-app/out/make/zip/**/*.zip