Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dennishenry authored Jan 6, 2025
1 parent cdb37a6 commit 2fd0ce0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ permissions:
id-token: write
contents: read

env:
AWS_ROLE: ${{ secrets.awsIAMS3UploadRole }}

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -44,7 +47,7 @@ jobs:
- name: Configure AWS Credentials using OIDC
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4 on 2025-01-06
with:
role-to-assume: arn:aws:iam::010616021751:role/s3-upload-account-link-extension
role-to-assume: ${{ env.AWS_ROLE }}
role-session-name: github-action-account-link-extension-publish
aws-region: us-west-1

Expand Down

0 comments on commit 2fd0ce0

Please sign in to comment.