File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed
Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,14 @@ jobs:
2222 with :
2323 java-version : ${{ matrix.jre }}
2424 distribution : ' temurin'
25- - name : Restore Maven cache
26- uses :
skjolber/maven- cache[email protected] 25+ - name : Cache Maven repository
26+ uses : actions/ cache@v4
2727 with :
28- step : restore
28+ path : ~/.m2/repository
29+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
30+ restore-keys : |
31+ ${{ runner.os }}-maven-
32+ enableCrossOsArchive : true
2933 - name : Install
3034 run : mvn clean install -DskipTests -q -P gradlePlugin
3135 - name : Build
3438 BUILD_PORT : 0
3539 BUILD_SECURE_PORT : 0
3640 BUILD_LOG_LEVEL : ' ERROR'
37- - name : Save Maven Cache
38- 39- with :
40- step : save
4141 - name : Test Result
4242 uses : mikepenz/action-junit-report@v5
4343 if : failure()
Original file line number Diff line number Diff line change @@ -24,10 +24,14 @@ jobs:
2424 java-version : ${{ matrix.java_version }}
2525 distribution : ' temurin'
2626 cache : maven
27- - name : Restore Maven cache
28- uses :
skjolber/maven- cache[email protected] 27+ - name : Cache Maven repository
28+ uses : actions/ cache@v4
2929 with :
30- step : restore
30+ path : ~/.m2/repository
31+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
32+ restore-keys : |
33+ ${{ runner.os }}-maven-
34+ enableCrossOsArchive : true
3135 - name : Install
3236 run : mvn clean install -DskipTests -q -B
3337 env :
4044 BUILD_PORT : 0
4145 BUILD_SECURE_PORT : 0
4246 BUILD_LOG_LEVEL : ' ERROR'
43- - name : Save Maven cache
44- 45- with :
46- step : save
4747 - name : Test Result
4848 uses : mikepenz/action-junit-report@v5
4949 if : failure()
You can’t perform that action at this time.
0 commit comments