File tree Expand file tree Collapse file tree 6 files changed +17
-4
lines changed
actions/custom-gradle-distribution-url Expand file tree Collapse file tree 6 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 66 using : composite
77 steps :
88 - name : Configure gradle distribution URL
9- working-directory : smithy-kotlin
109 run : |
11- # Keep gradle version in sync with aws-sdk -kotlin/gradle/wrapper/gradle-wrapper.properties
10+ # Keep gradle version in sync with smithy -kotlin/gradle/wrapper/gradle-wrapper.properties
1211 gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
1312 shell : bash
Original file line number Diff line number Diff line change 5555 role-to-assume : ${{ secrets.CI_AWS_ROLE_ARN }}
5656 aws-region : us-west-2
5757 - name : Configure Gradle
58+ working-directory : ./smithy-kotlin
5859 uses : ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
5960 - name : Generate Artifact Size Metrics
6061 run : ./gradlew artifactSizeMetrics
Original file line number Diff line number Diff line change 3838 java-version : 17
3939 cache : ' gradle'
4040 - name : Configure Gradle
41- uses : ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
41+ working-directory : ./smithy-kotlin
42+ uses : ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
4243 - name : Test
4344 shell : bash
4445 run : |
6061 java-version : 17
6162 cache : ' gradle'
6263 - name : Configure Gradle
64+ working-directory : ./smithy-kotlin
6365 uses : ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
6466 - name : Test
6567 shell : bash
8688 distribution : ' corretto'
8789 java-version : 17
8890 cache : ' gradle'
91+ - name : Configure Gradle
92+ working-directory : ./smithy-kotlin
93+ uses : ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
8994 - name : Test
9095 shell : bash
9196 run : |
@@ -113,6 +118,12 @@ jobs:
113118 # smithy-kotlin is checked out as a sibling dir which will automatically make it an included build
114119 path : ' aws-sdk-kotlin'
115120 repository : ' awslabs/aws-sdk-kotlin'
121+ - name : Configure Gradle for Smithy Kotlin
122+ working-directory : ./smithy-kotlin
123+ uses : ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
124+ - name : Configure Gradle for AWS SDK Kotlin
125+ working-directory : ./aws-sdk-kotlin
126+ uses : ./aws-sdk-kotlin/.github/actions/custom-gradle-distribution-url
116127 - name : Configure JDK
117128 uses : actions/setup-java@v3
118129 with :
Original file line number Diff line number Diff line change 3434 aws-region : us-west-2
3535
3636 - name : Configure Gradle
37+ working-directory : ./smithy-kotlin
3738 uses : ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
3839
3940 - name : Setup kat
Original file line number Diff line number Diff line change 1919 - name : Checkout sources
2020 uses : actions/checkout@v4
2121 - name : Configure Gradle
22+ working-directory : ./smithy-kotlin
2223 uses : ./smithy-kotlin/.github/actions/custom-gradle-distribution-url
2324 - name : Lint ${{ env.PACKAGE_NAME }}
2425 run : |
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https://d2pjps8lqszrgq.cloudfront.net/gradle-8.5 -bin.zip
3+ distributionUrl =https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12 -bin.zip
44networkTimeout =10000
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments