File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 23
23
distribution : ' temurin'
24
24
cache : maven
25
25
26
+ - name : Cache SonarQube packages
27
+ uses : actions/cache@v4
28
+ with :
29
+ path : ~/.sonar/cache
30
+ key : ${{ runner.os }}-sonar
31
+ restore-keys : ${{ runner.os }}-sonar
32
+
33
+ - name : Cache Maven packages
34
+ uses : actions/cache@v4
35
+ with :
36
+ path : ~/.m2
37
+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
38
+ restore-keys : ${{ runner.os }}-m2
39
+
26
40
- name : Check style
27
41
run : mvn checkstyle:check
28
42
Original file line number Diff line number Diff line change 22
22
distribution : ' temurin'
23
23
cache : maven
24
24
25
+ - name : Cache SonarQube packages
26
+ uses : actions/cache@v4
27
+ with :
28
+ path : ~/.sonar/cache
29
+ key : ${{ runner.os }}-sonar
30
+ restore-keys : ${{ runner.os }}-sonar
31
+
32
+ - name : Cache Maven packages
33
+ uses : actions/cache@v4
34
+ with :
35
+ path : ~/.m2
36
+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
37
+ restore-keys : ${{ runner.os }}-m2
38
+
25
39
- name : Check style
26
40
run : mvn checkstyle:check
27
41
Original file line number Diff line number Diff line change 22
22
distribution : ' temurin'
23
23
cache : maven
24
24
25
+ - name : Cache Maven packages
26
+ uses : actions/cache@v4
27
+ with :
28
+ path : ~/.m2
29
+ key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
30
+ restore-keys : ${{ runner.os }}-m2
31
+
25
32
- name : Package application
26
33
run : mvn -B -DskipTests package -P production
27
34
You can’t perform that action at this time.
0 commit comments