Skip to content

Commit c0b3c4e

Browse files
Remove useless cache
1 parent 5763cca commit c0b3c4e

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/java-continuous-integration.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ jobs:
3030
path: ~/.m2
3131
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3232
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-
3933
- name: Build with Maven
4034
run: mvn -B clean test package
4135

@@ -60,12 +54,6 @@ jobs:
6054
path: ~/.m2
6155
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
6256
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-
6957
- name: Cache SonarCloud packages
7058
uses: actions/cache@v2
7159
with:
@@ -78,4 +66,4 @@ jobs:
7866
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7967
# SonarCloud access token should be generated from https://sonarcloud.io/account/security/
8068
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

0 commit comments

Comments
 (0)