Skip to content

Commit 799a79f

Browse files
committed
Updated GitHub Actions CI configuration
1 parent 715a6e0 commit 799a79f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/maven.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,10 @@ jobs:
1313
java: [ 8, 11, 17 ]
1414

1515
steps:
16-
- uses: actions/checkout@v2
17-
- uses: actions/setup-java@v1
16+
- uses: actions/checkout@v4
17+
- uses: actions/setup-java@v4
1818
with:
19+
distribution: 'zulu'
1920
java-version: ${{ matrix.java }}
20-
- uses: actions/cache@v2
21-
with:
22-
path: ~/.m2
23-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
24-
restore-keys: ${{ runner.os }}-m2
21+
cache: 'maven'
2522
- run: mvn -B package --file pom.xml

0 commit comments

Comments
 (0)