Skip to content

Commit

Permalink
Inject GRADLE_ENCRYPTION_KEY for configuration cache
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Nov 6, 2024
1 parent 5c0ab83 commit 78a9cfb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
shell: bash
run: echo "TOOLCHAIN_JDK=$JAVA_HOME" >> $GITHUB_ENV
- uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- shell: bash
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
Expand Down Expand Up @@ -72,6 +74,8 @@ jobs:
shell: bash
run: echo "TOOLCHAIN_JDK=$JAVA_HOME" >> $GITHUB_ENV
- uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- shell: bash
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
Expand All @@ -98,6 +102,8 @@ jobs:
distribution: liberica
java-version: 17
- uses: gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
- shell: bash
env:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
Expand Down

0 comments on commit 78a9cfb

Please sign in to comment.