Skip to content

Commit 3843238

Browse files
committed
cache gradle at root
1 parent 0247bde commit 3843238

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
continue-on-error: true
4444
with:
4545
path: |
46-
~/.gradle/caches
47-
~/.gradle/wrapper
46+
/root/.gradle/caches
47+
/root/.gradle/wrapper
4848
key: ${{ runner.os }}-gradle-${{ hashFiles('*/*.gradle*', 'settings.gradle') }}
4949
restore-keys: |
5050
${{ runner.os }}-gradle-
@@ -60,9 +60,7 @@ jobs:
6060
- name: Gradle build
6161
run: ./gradlew update --info --no-daemon
6262
- name: Debug HOME Paths
63-
run: ls -la ~/.gradle
64-
- name: Debug .build Paths
65-
run: ls -la .build
63+
run: ls -la ~/
6664
- name: Debug . Paths
6765
run: ls -la .
6866
- name: Debug /root Paths

0 commit comments

Comments
 (0)