Skip to content

Commit 9382c0c

Browse files
committed
ci(github): limit --no-build-cache to coverage jobs and isolate cache keys
1 parent dd5fdf3 commit 9382c0c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/pr-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
restore-keys: macos26-${{ matrix.arch }}-gradle-
5353

5454
- name: Build
55-
run: ./gradlew clean build --no-daemon --no-build-cache
55+
run: ./gradlew clean build --no-daemon
5656

5757
build-ubuntu:
5858
name: Build ubuntu24 (JDK 17 / aarch64)
@@ -82,7 +82,7 @@ jobs:
8282
restore-keys: ubuntu24-aarch64-gradle-
8383

8484
- name: Build
85-
run: ./gradlew clean build --no-daemon --no-build-cache
85+
run: ./gradlew clean build --no-daemon
8686

8787
docker-build-rockylinux:
8888
name: Build rockylinux (JDK 8 / x86_64)
@@ -125,10 +125,10 @@ jobs:
125125
run: ./gradlew --stop || true
126126

127127
- name: Build
128-
run: ./gradlew clean build --no-daemon --no-build-cache
128+
run: ./gradlew clean build --no-daemon
129129

130130
- name: Test with RocksDB engine
131-
run: ./gradlew :framework:testWithRocksDb --no-daemon --no-build-cache
131+
run: ./gradlew :framework:testWithRocksDb --no-daemon
132132

133133
docker-build-debian11:
134134
name: Build debian11 (JDK 8 / x86_64)
@@ -219,9 +219,9 @@ jobs:
219219
path: |
220220
/github/home/.gradle/caches
221221
/github/home/.gradle/wrapper
222-
key: debian11-x86_64-gradle-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }}
222+
key: coverage-base-x86_64-gradle-${{ hashFiles('**/*.gradle', '**/gradle-wrapper.properties') }}
223223
restore-keys: |
224-
debian11-x86_64-gradle-
224+
coverage-base-x86_64-gradle-
225225
226226
- name: Build (base)
227227
run: ./gradlew clean build --no-daemon --no-build-cache

0 commit comments

Comments
 (0)