Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Nov 22, 2024
1 parent 90dbaac commit cbbab4d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ env:
permissions:
id-token: write # This is required for requesting the JWT

x-step-template: &configure-aws-credentials
- name: Configure AWS credentials (containers)
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ env.CRT_CI_ROLE }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}

jobs:
linux-compat:
runs-on: ubuntu-22.04 # latest
Expand All @@ -35,8 +42,7 @@ jobs:
- rhel8-x64
- al2-x64
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/assume-aws-role
- uses: *configure-aws-credentials
- name: Build ${{ env.PACKAGE_NAME }}
run: |
aws s3 cp s3://aws-crt-test-stuff/ci/${{ env.BUILDER_VERSION }}/linux-container-ci.sh ./linux-container-ci.sh && chmod a+x ./linux-container-ci.sh
Expand Down

0 comments on commit cbbab4d

Please sign in to comment.