From e9babba591e6915e73816b9fd6bcbdc537d46775 Mon Sep 17 00:00:00 2001 From: 86LAK <121588258+86LAK@users.noreply.github.com> Date: Wed, 1 May 2024 18:14:46 +1000 Subject: [PATCH] Update teardown.yml --- .github/workflows/teardown.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/teardown.yml b/.github/workflows/teardown.yml index ba22554..931e5b3 100644 --- a/.github/workflows/teardown.yml +++ b/.github/workflows/teardown.yml @@ -22,7 +22,7 @@ jobs: - name: Teardown to AWS run: | - echo "::add-mask::${{ github.event.inputs.awsCredentials }}" > credentials.txt >/dev/null + echo "::set-env name=AWS_CREDENTIALS::${{ github.event.inputs.awsCredentials }}" export AWS_ACCESS_KEY_ID=$(grep -oP '(?<=AWS_ACCESS_KEY_ID=)\S+' credentials.txt) export AWS_SECRET_ACCESS_KEY=$(grep -oP '(?<=AWS_SECRET_ACCESS_KEY=)\S+' credentials.txt) export AWS_SESSION_TOKEN=$(grep -oP '(?<=AWS_SESSION_TOKEN=)\S+' credentials.txt)