-
-
Notifications
You must be signed in to change notification settings - Fork 101
41 lines (37 loc) · 994 Bytes
/
build.yml
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
name: Build (Manual)
on:
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
run: npm ci
- name: Fetch
run: npm run fetch
- name: Compile
run: npm run webpack:compile
- name: debug:
run: |
ls
ls dist
ls dist/linux-unpacked
- name: Package Windows
if: runner.os == 'Windows'
run: node release-automation/build.js --windows --windows-legacy --microsoft-store
- name: Package macOS
if: runner.os == 'macOS'
run: node release-automation/build.js --mac
- name: Package Linux
if: runner.os == 'Linux'
run: node release-automation/build.js --debian --tarball --appimage