File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 30
30
path : ~/.m2
31
31
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
32
32
restore-keys : ${{ runner.os }}-m2
33
- - name : Cache node_modules
34
- uses : actions/cache@v2
35
- with :
36
- path : node_modules
37
- key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
38
- restore-keys : ${{ runner.os }}-yarn-
39
33
- name : Build with Maven
40
34
run : mvn -B clean test package
41
35
60
54
path : ~/.m2
61
55
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
62
56
restore-keys : ${{ runner.os }}-m2
63
- - name : Cache node_modules
64
- uses : actions/cache@v2
65
- with :
66
- path : node_modules
67
- key : ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
68
- restore-keys : ${{ runner.os }}-yarn-
69
57
- name : Cache SonarCloud packages
70
58
uses : actions/cache@v2
71
59
with :
78
66
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
79
67
# SonarCloud access token should be generated from https://sonarcloud.io/account/security/
80
68
SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
81
- run : mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.organization=lequal -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
69
+ run : mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.organization=lequal -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
You can’t perform that action at this time.
0 commit comments