Skip to content

Commit 7da313b

Browse files
committed
chore: update workflow to use Gradle configuration cache
1 parent dddb7cb commit 7da313b

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
run: chmod +x gradlew
8888
- name: Setup Gradle
8989
uses: gradle/actions/setup-gradle@v4
90+
with:
91+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
9092
- name: Execute Gradle build
9193
run: ./gradlew build --parallel
9294

.github/workflows/gradle.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
run: chmod +x gradlew
3737
- name: Setup Gradle
3838
uses: gradle/actions/setup-gradle@v4
39+
with:
40+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
3941
- name: Execute Gradle build
4042
run: ./gradlew build --parallel
4143
- name: Upload build reports

.github/workflows/javadoc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
run: chmod +x gradlew
3636
- name: Setup Gradle
3737
uses: gradle/actions/setup-gradle@v4
38+
with:
39+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
3840
- name: Execute Gradle build
3941
run: ./gradlew aggregateJavadoc
4042
- name: Upload artifact

0 commit comments

Comments
 (0)