Skip to content

Commit

Permalink
Remove invalid test again (#175)
Browse files Browse the repository at this point in the history
* Remove invalid test again

* Fix uses

* Add checkout
  • Loading branch information
reakaleek authored Nov 29, 2024
1 parent fb0c926 commit 0d139cb
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/test-aws-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,27 +19,11 @@ permissions:
id-token: write

jobs:
create-credentials:
outputs:
aws-access-key-id: ${{ steps.auth.outputs.aws-access-key-id }}
aws-secret-access-key: ${{ steps.auth.outputs.aws-secret-access-key }}
aws-session-token: ${{ steps.auth.outputs.aws-session-token }}
role-arn: ${{ steps.auth.outputs.role-arn }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./aws/auth
id: auth
- run: aws sts get-caller-identity

test:
needs: create-credentials
runs-on: ubuntu-latest
steps:
- uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: ${{ needs.create-credentials.outputs.role-arn }}
aws-access-key-id: ${{ needs.create-credentials.outputs.aws-access-key-id }}
aws-secret-access-key: ${{ needs.create-credentials.outputs.aws-secret-access-key }}
- run: aws sts get-caller-identity

0 comments on commit 0d139cb

Please sign in to comment.