Skip to content

Commit 9a8862c

Browse files
committed
feat: use action
1 parent 6c70e89 commit 9a8862c

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

.github/workflows/artifact-size-metrics.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ jobs:
2424
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
2525
aws-region: us-west-2
2626
- name: Configure Gradle
27-
run: |
28-
# Keep gradle version in sync with aws-crt-kotlin/gradle/wrapper/gradle-wrapper.properties
29-
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
27+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
3028
- name: Generate Artifact Size Metrics
3129
run: ./gradlew artifactSizeMetrics
3230
- name: Save Artifact Size Metrics
@@ -45,9 +43,7 @@ jobs:
4543
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
4644
aws-region: us-west-2
4745
- name: Configure Gradle
48-
run: |
49-
# Keep gradle version in sync with aws-crt-kotlin/gradle/wrapper/gradle-wrapper.properties
50-
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
46+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
5147
- name: Generate Artifact Size Metrics
5248
run: ./gradlew artifactSizeMetrics
5349
- name: Analyze Artifact Size Metrics

.github/workflows/kat-transform.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@ jobs:
4444
cache: 'gradle'
4545

4646
- name: Configure Gradle
47-
working-directory: ./aws-crt-kotlin
48-
run: |
49-
# Keep gradle version in sync with aws-crt-kotlin/gradle/wrapper/gradle-wrapper.properties
50-
gradle wrapper --gradle-distribution-url https://d2pjps8lqszrgq.cloudfront.net/gradle-8.12-bin.zip
47+
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
48+
with:
49+
working-directory: ./aws-crt-kotlin
5150

5251
- name: Build
5352
working-directory: ./aws-crt-kotlin

0 commit comments

Comments
 (0)