File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,6 @@ description: >
55runs :
66 using : composite
77 steps :
8- - name : Configure AWS Credentials
9- uses : aws-actions/configure-aws-credentials@v4
10- with :
11- role-to-assume : $CI_AWS_ROLE_ARN
12- aws-region : us-west-2
138 - name : Install AWS CLI
149 shell : bash
1510 run : |
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ concurrency:
1010 group : kat-pr-${{ github.ref }}
1111 cancel-in-progress : true
1212
13+ permissions :
14+ id-token : write
15+ contents : read
16+
1317env :
1418 RUN : ${{ github.run_id }}-${{ github.run_number }}
1519 GRADLE_OPTS : " -Dorg.gradle.daemon=false -Dkotlin.incremental=false"
@@ -22,12 +26,19 @@ jobs:
2226 uses : actions/checkout@v4
2327 with :
2428 path : ' aws-sdk-kotlin'
29+
2530 - name : Setup Build
2631 uses : ./aws-sdk-kotlin/.github/actions/setup-build
32+
33+ - name : Configure AWS Credentials
34+ uses : aws-actions/configure-aws-credentials@v4
35+ with :
36+ role-to-assume : ${{ secrets.CI_AWS_ROLE_ARN }}
37+ aws-region : us-west-2
38+
2739 - name : Setup kat
2840 uses : ./aws-sdk-kotlin/.github/actions/setup-kat
29- env :
30- CI_AWS_ROLE_ARN : ${{ secrets.CI_AWS_ROLE_ARN }}
41+
3142 - name : Verify
3243 working-directory : ./aws-sdk-kotlin
3344 shell : bash
You can’t perform that action at this time.
0 commit comments