Skip to content

Commit 24f8524

Browse files
committed
fixes to workflow
1 parent 20d388d commit 24f8524

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/pull-request-metrics.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,22 @@ jobs:
1515
- name: Build
1616
shell: bash
1717
run: |
18-
./gradlew build --parallel
19-
./gradlew publishAllPublicationsToTestLocalRepository --parallel
18+
echo "FIXME: Enable K/N builds - then capture KN artifact metrics"
19+
./gradlew -Paws.kotlin.native=false build --parallel
20+
./gradlew -Paws.kotlin.native=false publishAllPublicationsToTestLocalRepository --parallel
2021
2122
- name: Calculate metrics
2223
uses: awslabs/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/calculate-and-upload@asm-v2 # TODO: Change to main before merging
2324
with:
2425
upload: 'false'
2526
release_metrics: 'false'
2627

28+
- name: Configure credentials
29+
uses: aws-actions/configure-aws-credentials@v4
30+
with:
31+
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
32+
aws-region: us-west-2
33+
2734
- name: Process metrics
2835
uses: awslabs/aws-kotlin-repo-tools/.github/actions/artifact-size-metrics/download-and-process@asm-v2 # TODO: Change to main before merging
2936
with:

0 commit comments

Comments
 (0)