natives.yml: exclude ~/.gradle/caches/modules-2/modules-2.lock from Gradle cache

This commit is contained in:
Karl Tauber
2021-03-26 21:52:28 +01:00
parent f801d61929
commit 9006e835c6

View File

@@ -41,7 +41,9 @@ jobs:
- name: Cache Gradle cache
uses: actions/cache@v2
with:
path: ~/.gradle/caches
path: |
~/.gradle/caches
!~/.gradle/caches/modules-2/modules-2.lock
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: ${{ runner.os }}-gradle