Skip to content

Commit 2a28159

Browse files
committed
misc: hardcode configure gradle task
1 parent 6f1e46e commit 2a28159

File tree

6 files changed

+21
-22
lines changed

6 files changed

+21
-22
lines changed

.github/actions/custom-gradle-distribution-url/action.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/codebuild-ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ jobs:
8686
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
8787
aws-region: us-west-2
8888
- name: Configure Gradle
89-
working-directory: ./aws-sdk-kotlin
90-
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
89+
run: |
90+
# Keep gradle version in sync with aws-sdk-kotlin/gradle/wrapper/gradle-wrapper.properties
91+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
9192
- name: Run Service Check Batch and Calculate Artifact Size Metrics
9293
id: svc-check-batch
9394
run: |
@@ -216,8 +217,9 @@ jobs:
216217
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
217218
aws-region: us-west-2
218219
- name: Configure Gradle
219-
working-directory: ./aws-sdk-kotlin
220-
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
220+
run: |
221+
# Keep gradle version in sync with aws-sdk-kotlin/gradle/wrapper/gradle-wrapper.properties
222+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
221223
- name: Calculate Artifact Size Metrics
222224
id: svc-check-batch
223225
run: |

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
- name: Setup Build
3535
uses: ./aws-sdk-kotlin/.github/actions/setup-build
3636
- name: Configure Gradle
37-
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
37+
run: |
38+
# Keep gradle version in sync with aws-sdk-kotlin/gradle/wrapper/gradle-wrapper.properties
39+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
3840
- name: Test
3941
working-directory: ./aws-sdk-kotlin
4042
shell: bash
@@ -57,7 +59,9 @@ jobs:
5759
- name: Setup Build
5860
uses: ./aws-sdk-kotlin/.github/actions/setup-build
5961
- name: Configure Gradle
60-
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
62+
run: |
63+
# Keep gradle version in sync with aws-sdk-kotlin/gradle/wrapper/gradle-wrapper.properties
64+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
6165
- name: Build smithy-kotlin
6266
working-directory: ./smithy-kotlin
6367
shell: bash

.github/workflows/kat-transform.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
aws-region: us-west-2
4040

4141
- name: Configure Gradle
42-
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
42+
run: |
43+
# Keep gradle version in sync with aws-sdk-kotlin/gradle/wrapper/gradle-wrapper.properties
44+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
4345
4446
- name: Setup kat
4547
uses: awslabs/aws-kotlin-repo-tools/.github/actions/setup-kat@main

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
with:
2525
path: 'aws-sdk-kotlin'
2626
- name: Configure Gradle
27-
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
27+
run: |
28+
# Keep gradle version in sync with aws-sdk-kotlin/gradle/wrapper/gradle-wrapper.properties
29+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
2830
- name: Lint ${{ env.PACKAGE_NAME }}
2931
working-directory: ./aws-sdk-kotlin
3032
run: |

.github/workflows/update-release-branch.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
java-version: 17
4545
cache: 'gradle'
4646
- name: Configure Gradle
47-
uses: ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
47+
run: |
48+
# Keep gradle version in sync with aws-sdk-kotlin/gradle/wrapper/gradle-wrapper.properties
49+
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
4850
- name: Check merge base
4951
shell: bash
5052
run: |

0 commit comments

Comments
 (0)