Skip to content

Commit 5fbdd2e

Browse files
committed
Pass ARN role as environment variable
1 parent 92ce3aa commit 5fbdd2e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/actions/setup-kat/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
- name: Configure AWS Credentials
99
uses: aws-actions/configure-aws-credentials@v4
1010
with:
11-
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
11+
role-to-assume: $CI_AWS_ROLE_ARN
1212
aws-region: us-west-2
1313
- name: Install AWS CLI
1414
shell: bash
@@ -28,7 +28,7 @@ runs:
2828
2929
aws s3 cp s3://kotlin-sdk-build-tools/kat-releases/$kat_version/kat-$kat_version.zip ./kat.zip
3030
31-
unzip ./kat.zip kat
31+
unzip ./kat.zip -d kat
3232
cd kat/kat-$kat_version/bin
3333
3434
kat_binary_path=kat/kat-$kat_version/bin

.github/workflows/kat-verification.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
uses: ./aws-sdk-kotlin/.github/actions/setup-build
2727
- name: Setup kat
2828
uses: ./aws-sdk-kotlin/.github/actions/setup-kat
29+
env:
30+
CI_AWS_ROLE_ARN: ${{ secrets.CI_AWS_ROLE_ARN }}
2931
- name: Verify
3032
working-directory: ./aws-sdk-kotlin
3133
shell: bash

0 commit comments

Comments
 (0)