Skip to content

Commit 61b171b

Browse files
authored
Attempt to fix build
1 parent aae54c9 commit 61b171b

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,14 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
java: [20, 17]
12+
java: [21, 25]
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v5
1515
- name: Set up JDK
16-
uses: actions/setup-java@v1
16+
uses: actions/setup-java@v4
1717
with:
18+
distribution: 'temurin'
1819
java-version: ${{ matrix.java }}
19-
- name: Cache Maven packages
20-
uses: actions/cache@v2
21-
with:
22-
path: ~/.m2
23-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
24-
restore-keys: ${{ runner.os }}-m2
20+
cache: maven
2521
- name: Build with Maven
26-
run: mvn -B package --file pom.xml
22+
run: mvn --batch-mode --update-snapshots verify

0 commit comments

Comments
 (0)