Skip to content

Commit 4cf043e

Browse files
committed
updated workflow
1 parent d07a4cc commit 4cf043e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,13 @@ jobs:
1616
if: ${{ !(github.ref == 'refs/heads/main' && contains(github.event.head_commit.message, '[maven-release-plugin]')) }}
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
- name: Set up JDK
21-
uses: actions/setup-java@v1
21+
uses: actions/setup-java@v4
2222
with:
2323
java-version: 11
24-
25-
- name: Cache Maven packages
26-
uses: actions/cache@v2
27-
with:
28-
path: ~/.m2
29-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
30-
restore-keys: ${{ runner.os }}-m2
24+
distribution: 'temurin'
25+
cache: 'maven'
3126

3227
- name: Compile & Bootstrap
3328
run: mvn -B compile

0 commit comments

Comments
 (0)