Skip to content

Commit 10c61ab

Browse files
committed
chore(ci): use gradle/actions/setup-gradle for setting up gradle
1 parent 5219cba commit 10c61ab

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/codegen-ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,18 @@ jobs:
2222

2323
steps:
2424
- uses: actions/checkout@v5
25-
- uses: gradle/actions/wrapper-validation@v4
2625

2726
- name: Set up JDK ${{ matrix.java }}
2827
uses: actions/setup-java@v5
2928
with:
3029
java-version: ${{ matrix.java }}
3130
distribution: 'corretto'
32-
cache: gradle
33-
31+
32+
- name: Setup Gradle
33+
uses: gradle/actions/setup-gradle@v5
34+
with:
35+
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
36+
3437
- name: build and publish smithy-typescript
3538
run: |
3639
node ./scripts/generate-clients/build-smithy-typescript-ci.js

0 commit comments

Comments
 (0)