Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

Commit 6d1f14c

Browse files
committed
Update JavaFX to 21.
1 parent 70dc78a commit 6d1f14c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v2
1818
- name: Set up JDK
19-
uses: actions/setup-java@v1
19+
uses: actions/setup-java@v4
2020
with:
21-
java-version: 11
22-
- name: Check Maven dependencies update
23-
run: mvn -B versions:display-dependency-updates
21+
distribution: 'zulu'
22+
java-version: '17'
23+
cache: 'maven'
2424
- name: Compile with Maven
2525
run: mvn -B compile
2626
- name: Build with Maven
2727
run: mvn -B javafx:jlink
2828
- name: Package with Maven
29-
run: mvn package
29+
run: mvn -B package
3030
- uses: actions/upload-artifact@v4
3131
with:
3232
name: ${{ matrix.platform }}
33-
path: target
33+
path: target/MIDI-MUG-1.0-SNAPSHOT.jar

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
<dependency>
1414
<groupId>org.openjfx</groupId>
1515
<artifactId>javafx-controls</artifactId>
16-
<version>13</version>
16+
<version>21</version>
1717
</dependency>
1818
<dependency>
1919
<groupId>org.openjfx</groupId>
2020
<artifactId>javafx-fxml</artifactId>
21-
<version>13</version>
21+
<version>21</version>
2222
<type>jar</type>
2323
</dependency>
2424
</dependencies>

0 commit comments

Comments
 (0)