|
40 | 40 | java-version: 17 |
41 | 41 | cache: 'gradle' |
42 | 42 | - name: Configure Gradle |
43 | | - run: | |
44 | | - # Keep gradle version in sync with smithy-kotlin/gradle/wrapper/gradle-wrapper.properties |
45 | | - gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip |
| 43 | + uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main |
46 | 44 | - name: Test |
47 | 45 | shell: bash |
48 | 46 | run: | |
|
64 | 62 | java-version: 17 |
65 | 63 | cache: 'gradle' |
66 | 64 | - name: Configure Gradle |
67 | | - run: | |
68 | | - # Keep gradle version in sync with smithy-kotlin/gradle/wrapper/gradle-wrapper.properties |
69 | | - gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip |
| 65 | + uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main |
70 | 66 | - name: Test |
71 | 67 | shell: bash |
72 | 68 | run: | |
|
93 | 89 | java-version: 17 |
94 | 90 | cache: 'gradle' |
95 | 91 | - name: Configure Gradle |
96 | | - run: | |
97 | | - # Keep gradle version in sync with smithy-kotlin/gradle/wrapper/gradle-wrapper.properties |
98 | | - gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip |
| 92 | + uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main |
99 | 93 | - name: Test |
100 | 94 | shell: bash |
101 | 95 | run: | |
@@ -123,16 +117,14 @@ jobs: |
123 | 117 | # smithy-kotlin is checked out as a sibling dir which will automatically make it an included build |
124 | 118 | path: 'aws-sdk-kotlin' |
125 | 119 | repository: 'awslabs/aws-sdk-kotlin' |
126 | | - - name: Configure Gradle for smithy-kotlin |
127 | | - working-directory: ./smithy-kotlin |
128 | | - run: | |
129 | | - # Keep gradle version in sync with smithy-kotlin/gradle/wrapper/gradle-wrapper.properties |
130 | | - gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip |
131 | | - - name: Configure Gradle for aws-sdk-kotlin |
132 | | - working-directory: ./aws-sdk-kotlin |
133 | | - run: | |
134 | | - # Keep gradle version in sync with smithy-kotlin/gradle/wrapper/gradle-wrapper.properties |
135 | | - gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip |
| 120 | + - name: Configure Gradle - smithy-kotlin |
| 121 | + uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main |
| 122 | + with: |
| 123 | + working-directory: ./smithy-kotlin |
| 124 | + - name: Configure Gradle - aws-sdk-kotlin |
| 125 | + uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main |
| 126 | + with: |
| 127 | + working-directory: ./aws-sdk-kotlin |
136 | 128 | - name: Configure JDK |
137 | 129 | uses: actions/setup-java@v3 |
138 | 130 | with: |
|
0 commit comments