Skip to content

Commit

Permalink
aws[patch]: unset environment variables during min version tests (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccurme authored Sep 19, 2024
1 parent 94e1584 commit b315fe3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,14 @@ jobs:
run: make integration_tests
working-directory: ${{ inputs.working-directory }}

- name: Remove environment variables
run: |
unset AWS_ACCESS_KEY_ID
unset AWS_SECRET_ACCESS_KEY
unset AWS_REGION
# Verify they are removed
if [ -z "$AWS_ACCESS_KEY_ID" ]; then echo "AWS_ACCESS_KEY_ID is unset"; else echo "AWS_ACCESS_KEY_ID is still set"; fi
- name: Get minimum versions
working-directory: ${{ inputs.working-directory }}
id: min-version
Expand Down

0 comments on commit b315fe3

Please sign in to comment.