Skip to content

Commit

Permalink
delete the aws credential condition to skip AL2
Browse files Browse the repository at this point in the history
Signed-off-by: Jingwei Wang <[email protected]>
  • Loading branch information
sky1122 committed Nov 20, 2024
1 parent befbfd3 commit d329684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
echo "has_creds=$has_creds" >> $GITHUB_OUTPUT
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
# this action requires node20, skip on AL2
if: ${{ steps.vars.outputs.has_creds == 'true' && (!(startsWith(inputs.os, 'amazon') && inputs.version == '2' ))}}
# this action requires node20, skip on AL2, delete skip condition since have node20 on AL2
if: ${{ steps.vars.outputs.has_creds == 'true'}}
with:
role-to-assume: ${{ secrets.ROLE }}
role-session-name: credhelper-test
Expand Down

0 comments on commit d329684

Please sign in to comment.