-
Notifications
You must be signed in to change notification settings - Fork 26
51 lines (42 loc) · 1.36 KB
/
build_workstation_windows.yml
File metadata and controls
51 lines (42 loc) · 1.36 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
43
44
45
46
47
48
49
50
51
name: Build Workstation (Windows)
on:
workflow_dispatch:
jobs:
build-windows:
runs-on: windows-latest
timeout-minutes: 90
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Cache pip
uses: actions/cache@v4
with:
path: |
~\AppData\Local\pip\Cache
key: ${{ runner.os }}-pip-${{ hashFiles('trainer/requirements.txt', 'painter/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Build Workstation (Windows)
shell: pwsh
run: |
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
./build_workstation_win.ps1
- name: Build Inno Setup installer
shell: pwsh
run: iscc painter\src\build\assets\InstallerWorkstation.iss
- name: Upload installer
uses: actions/upload-artifact@v4
with:
name: RootPainter-Workstation-Windows-Installer
path: dist\RootPainterWorkstationInstaller.exe
if-no-files-found: error
- name: Upload portable
uses: actions/upload-artifact@v4
with:
name: RootPainter-Workstation-Windows-Portable
path: dist\RootPainterWorkstation\
if-no-files-found: error