-
Notifications
You must be signed in to change notification settings - Fork 132
61 lines (59 loc) · 1.57 KB
/
gradle.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
name: Java Build
on: [push]
jobs:
build-macos:
runs-on: macos-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v1
- name: Set up OpenJDK 17
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
architecture: x64
- name: Build with Gradle
run: ./gradlew dist --info
- name: Upload Installer
uses: actions/upload-artifact@v1
with:
name: fx2048-1.0.pkg
path: build/jpackage/fx2048-1.0.pkg
build-windows:
runs-on: windows-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v1
- name: Set up OpenJDK 17
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
architecture: x64
- name: Build with Gradle
run: ./gradlew dist --info
- name: Upload Installer
uses: actions/upload-artifact@v1
with:
name: fx2048-1.0.msi
path: build/jpackage/fx2048-1.0.msi
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v1
- name: Set up OpenJDK 17
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
java-version: '17'
architecture: x64
- name: Build with Gradle
run: ./gradlew dist --info
- name: List installers
run: ls -l build/jpackage/
- name: Upload Installer
uses: actions/upload-artifact@v1
with:
name: fx2048-1.0.deb
path: build/jpackage/fx2048_1.0-1_amd64.deb