Skip to content

Commit

Permalink
Improve 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 0df4066
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/actions/common-linux-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ runs:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.*') }}
!~/.gradle/**.lock
!~/.gradle/caches/modules-2/gc.properties
key: ${{ runner.os }}-gradle2-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.*', 'buildSrc/**') }}
restore-keys: |
${{ runner.os }}-gradle-
${{ runner.os }}-gradle2-

0 comments on commit 0df4066

Please sign in to comment.