-
Notifications
You must be signed in to change notification settings - Fork 3
52 lines (43 loc) · 1.33 KB
/
build-win.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
45
46
47
48
49
50
51
52
name: "Build for Windows"
on:
push:
pull_request:
jobs:
build-for-windows:
name: Build
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Install Node"
uses: actions/setup-node@v4
- name: Install deps and build
run: |
npm i
npm run build:win
- uses: actions/upload-artifact@v4
name: Upload portable .zip build
with:
name: "SE3-Launcher-win32-portable-zip"
path: |
dist/*-portable.zip
- uses: actions/upload-artifact@v4
name: Upload portable .exe build
with:
name: "SE3-Launcher-win32-portable-exe"
path: |
dist/*-portable.exe
- uses: actions/upload-artifact@v4
name: Upload installer build
with:
name: "SE3-Launcher-win32-installer-exe"
path: |
dist/*-setup.exe