From a8b9db8859dc643f8d9930b8f5941098b0b10a9d Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Thu, 19 Sep 2024 19:32:27 -0400 Subject: [PATCH] unset env vars --- .github/workflows/_release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/_release.yml b/.github/workflows/_release.yml index 7092c62a..795c4386 100644 --- a/.github/workflows/_release.yml +++ b/.github/workflows/_release.yml @@ -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