We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aae54c9 commit 61b171bCopy full SHA for 61b171b
.github/workflows/build.yml
@@ -9,18 +9,14 @@ jobs:
9
runs-on: ubuntu-latest
10
strategy:
11
matrix:
12
- java: [20, 17]
+ java: [21, 25]
13
steps:
14
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v5
15
- name: Set up JDK
16
- uses: actions/setup-java@v1
+ uses: actions/setup-java@v4
17
with:
18
+ distribution: 'temurin'
19
java-version: ${{ matrix.java }}
- - 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
+ cache: maven
25
- name: Build with Maven
26
- run: mvn -B package --file pom.xml
+ run: mvn --batch-mode --update-snapshots verify
0 commit comments