Skip to content

Commit cb3c99a

Browse files
authored
Enable gradle configuration cache (#262)
1 parent 0d0b073 commit cb3c99a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/gradle-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
build-scan-publish: true
6464
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
6565
build-scan-terms-of-use-agree: "yes"
66+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
6667
- name: Cache SonarQube packages
6768
uses: actions/cache@v4
6869
with:
@@ -77,7 +78,7 @@ jobs:
7778
env:
7879
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7980
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
80-
run: ./gradlew build jacocoTestReport sonar
81+
run: ./gradlew build jacocoTestReport sonar --configuration-cache
8182
- name: Terminate Testcontainers Cloud Client active sessions
8283
uses: atomicjar/testcontainers-cloud-setup-action@v1
8384
with:

0 commit comments

Comments
 (0)