Skip to content

Commit 97db78c

Browse files
committed
CI: use a JavaFX-8-enabled JDK
1 parent a6a4b01 commit 97db78c

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/build-main.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Set up Java
17-
uses: actions/setup-java@v3
17+
uses: actions/setup-java@v1
1818
with:
1919
java-version: '8'
20-
distribution: 'zulu'
21-
cache: 'maven'
20+
java-package: 'jdk+fx'
21+
- name: Cache Maven artifacts
22+
uses: actions/cache@v2
23+
with:
24+
path: ~/.m2
25+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26+
restore-keys: ${{ runner.os }}-m2
2227
- name: Set up CI environment
2328
run: .github/setup.sh
2429
- name: Execute the build

.github/workflows/build-pr.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Set up Java
15-
uses: actions/setup-java@v3
15+
uses: actions/setup-java@v1
1616
with:
1717
java-version: '8'
18-
distribution: 'zulu'
19-
cache: 'maven'
18+
java-package: 'jdk+fx'
19+
- name: Cache Maven artifacts
20+
uses: actions/cache@v2
21+
with:
22+
path: ~/.m2
23+
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
24+
restore-keys: ${{ runner.os }}-m2
2025
- name: Set up CI environment
2126
run: .github/setup.sh
2227
- name: Execute the build

0 commit comments

Comments
 (0)