Commit a613c6d 1 parent c972414 commit a613c6d Copy full SHA for a613c6d
File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,17 @@ jobs:
20
20
with :
21
21
java-version : " 21"
22
22
distribution : " corretto"
23
- - name : Cache Maven packages
24
- uses : actions/cache@v3
25
- with :
26
- path : ~/.m2
27
- key : MavenCache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
28
23
- name : Clean install
29
24
run : ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip
30
25
- name : Cache JAR file
26
+ id : cache-jar
31
27
uses : actions/cache@v3
28
+ run : pwd
32
29
with :
33
30
path : target/wrongsecrets-1.7.0-SNAPSHOT.jar
34
31
key : JarCache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
32
+ restore-keys : |
33
+ JarCache-${{ runner.os }}-
35
34
- name : Start wrongsecrets
36
35
run : nohup ./mvnw spring-boot:run -Dspring-boot.run.profiles=without-vault &
37
36
- name : ZAP Scan
You can’t perform that action at this time.
0 commit comments