Skip to content

Commit b638045

Browse files
committed
[ELYWEB-246] Update setup-java action to v4 and move maven caching into this action.
1 parent 9d48735 commit b638045

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/pr-ci.yaml

+3-7
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,11 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Set up JDK 11
18-
uses: actions/setup-java@v1
18+
uses: actions/setup-java@v4
1919
with:
20+
distribution: 'temurin'
2021
java-version: 11
21-
- name: Cache Maven packages
22-
uses: actions/cache@v2
23-
with:
24-
path: ~/.m2
25-
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
26-
restore-keys: ${{ runner.os }}-m2
22+
cache: 'maven'
2723
- name: Version Info
2824
run: mvn -version
2925
- name: Build with Maven

0 commit comments

Comments
 (0)