Skip to content

Commit e76e931

Browse files
committed
Update Java version
1 parent f0211f8 commit e76e931

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/maven.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ jobs:
1616
- name: Checkout repository
1717
uses: actions/checkout@v4
1818

19-
- name: Set up JDK 1.8
19+
- name: Set up JDK
2020
uses: actions/setup-java@v4
2121
with:
22-
java-version: '8'
22+
java-version: '21'
2323
distribution: corretto
24+
cache: maven
2425

2526
- name: Build with Maven
26-
run: mvn clean package
27+
run: mvn -B --no-transfer-progress clean package
2728

2829
- name: Upload artifact [uber-jar]
2930
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)