-
Notifications
You must be signed in to change notification settings - Fork 15
66 lines (54 loc) · 1.81 KB
/
desktop-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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: debugger-windows
on:
push:
branches: [ master ]
concurrency:
group: "publish-win"
cancel-in-progress: true
jobs:
publish-windows:
runs-on: windows-latest
environment: publishing
steps:
- uses: actions/checkout@v4
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
- name: set up JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
check-latest: true
java-version: 22
cache: 'gradle'
- name: Validate gradle wrapper
uses: gradle/wrapper-validation-action@v3
- name: Create local properties
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
shell: bash
run: echo "$LOCAL_PROPERTIES" | base64 --decode > local.properties
- name: Cache konan directory
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('*.gradle.kts', 'buildSrc/*') }}
restore-keys: |
${{ runner.os }}-konan-
- name: Create platform debugger distributable
run: ./gradlew debugger:app:packageDistributionForCurrentOS
- name: Create platform sample distributable
run: ./gradlew sample:packageDistributionForCurrentOS
- name: Upload debugger
uses: actions/upload-artifact@v4.3.6
with:
name: Debugger_Windows
path: ./debugger/app/build/compose/binaries/main/exe/*
if-no-files-found: error
overwrite: false
- name: Upload sample
uses: actions/upload-artifact@v4.3.6
with:
name: Sample_Windows
path: ./sample/build/compose/binaries/main/exe/*
if-no-files-found: error
overwrite: false