diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9c923182..efeb2c34 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
@@ -23,8 +23,8 @@ jobs: | |||
23 | with: | 23 | with: |
24 | path: | | 24 | path: | |
25 | ~/.gradle/caches | 25 | ~/.gradle/caches |
26 | **/.gradle/npm | 26 | .gradle/node |
27 | **/.gradle/nodejs | 27 | .gradle/yarn |
28 | key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | 28 | key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} |
29 | restore-keys: ${{ runner.os }}-gradle | 29 | restore-keys: ${{ runner.os }}-gradle |
30 | - name: Cache Sonar packages | 30 | - name: Cache Sonar packages |
@@ -33,13 +33,13 @@ jobs: | |||
33 | path: ~/.sonar/cache | 33 | path: ~/.sonar/cache |
34 | key: ${{ runner.os }}-sonar | 34 | key: ${{ runner.os }}-sonar |
35 | restore-keys: ${{ runner.os }}-sonar | 35 | restore-keys: ${{ runner.os }}-sonar |
36 | - name: Cache npm packages | 36 | - name: Cache yarn packages |
37 | uses: actions/cache@v2 | 37 | uses: actions/cache@v2 |
38 | with: | 38 | with: |
39 | path: | | 39 | path: | |
40 | **/node_modules | 40 | **/node_modules |
41 | key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} | 41 | key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} |
42 | restore-keys: ${{ runner.os }}-npm | 42 | restore-keys: ${{ runner.os }}-yarn |
43 | - name: Gradle build and Sonar analyze | 43 | - name: Gradle build and Sonar analyze |
44 | env: | 44 | env: |
45 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed by Sonar to get PR information, if any | 45 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed by Sonar to get PR information, if any |