Skip to content

Commit c5905cd

Browse files
committed
Use setup-build action in artifact-size-metrics to pull in aws-crt-kotlin as an includeBuild
1 parent eeb8463 commit c5905cd

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

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

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,27 @@ jobs:
4545
steps:
4646
- name: Checkout Sources
4747
uses: actions/checkout@v4
48-
- name: Configure JDK
49-
uses: actions/setup-java@v3
5048
with:
51-
distribution: 'corretto'
52-
java-version: 17
53-
cache: 'gradle'
49+
path: 'smithy-kotlin'
50+
51+
- name: Setup build
52+
uses: ./smithy-kotlin/.github/actions/setup-build
53+
5454
- name: Configure AWS Credentials
5555
uses: aws-actions/configure-aws-credentials@v4
5656
with:
5757
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
5858
aws-region: us-west-2
59+
5960
- name: Configure Gradle
6061
uses: awslabs/aws-kotlin-repo-tools/.github/actions/configure-gradle@main
62+
6163
- name: Generate Artifact Size Metrics
6264
run: ./gradlew -Paws.kotlin.native=false artifactSizeMetrics
65+
6366
- name: Analyze Artifact Size Metrics
6467
run: ./gradlew analyzeArtifactSizeMetrics
68+
6569
- name: Show Results
6670
uses: actions/github-script@v7
6771
with:

0 commit comments

Comments
 (0)