-
Notifications
You must be signed in to change notification settings - Fork 37
43 lines (38 loc) · 927 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
42
43
name: Build
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
matrix:
os: [windows, macos, ubuntu]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: android-actions/setup-android@v3
- if: matrix.os == 'ubuntu'
run: |
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils
- run: |
npm i
npm run adb
npm run server
npm run build
npm run pack
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: |
release/**/*.dmg
release/**/*.exe
release/**/*.AppImage
!release/**/win-unpacked/