-
-
Notifications
You must be signed in to change notification settings - Fork 99
44 lines (40 loc) · 1.27 KB
/
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
42
43
44
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@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: recursive
persist-credentials: false
- name: Install Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
with:
node-version: 20.x
cache: npm
- name: Install dependencies
run: npm ci
- name: Fetch
run: npm run fetch
- name: Compile
run: npm run webpack:compile
- name: Package Windows
if: runner.os == 'Windows'
run: |
node release-automation/build.js --windows --microsoft-store --x64 --ia32 --arm64
node release-automation/build.js --windows-portable --x64
node release-automation/build.js --windows-legacy --ia32 --x64
- name: Package macOS
if: runner.os == 'macOS'
run: |
node release-automation/build.js --mac --universal
node release-automation/build.js --mac-legacy --x64
- name: Package Linux
if: runner.os == 'Linux'
run: |
node release-automation/build.js --debian --tarball --appimage --x64 --armv7l --arm64