Skip to content

Commit

Permalink
Fix Gradle build caching
Browse files Browse the repository at this point in the history
Issue: #175
  • Loading branch information
mlopatkin committed Dec 25, 2021
1 parent eff9f79 commit 7b663ff
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/actions/common-linux-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ runs:
name: Cached Gradle modules
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.*') }}
/root/.gradle/caches/**
/root/.gradle/wrapper/**
!/root/.gradle/**.lock
!/root/.gradle/caches/modules-2/gc.properties
key: ${{ runner.os }}-gradle4-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.*', 'buildSrc/**') }}
restore-keys: |
${{ runner.os }}-gradle-
${{ runner.os }}-gradle4-

0 comments on commit 7b663ff

Please sign in to comment.