From 76105eddde1af4eb1d9b7f29114773550ef5d0ab Mon Sep 17 00:00:00 2001 From: Kyle Hutchens Date: Fri, 14 Oct 2022 13:15:17 -0400 Subject: [PATCH] refactor: update action to use environment files not set-output --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index a5c63c9..9adb45a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -21,6 +21,6 @@ AWS_ACCESS_KEY_ID=$(jq -r '.data.access_key' creds.json) AWS_SECRET_ACCESS_KEY=$(jq -r '.data.secret_key' creds.json) AWS_SESSION_TOKEN=$(jq -r '.data.security_token' creds.json) -echo "::set-output name=access_key::$AWS_ACCESS_KEY_ID" -echo "::set-output name=secret_key::$AWS_SECRET_ACCESS_KEY" -echo "::set-output name=session_token::$AWS_SESSION_TOKEN" +echo "access_key=$AWS_ACCESS_KEY_ID" >> $GITHUB_OUTPUT +echo "secret_key=$AWS_SECRET_ACCESS_KEY" >> $GITHUB_OUTPUT +echo "session_token=$AWS_SESSION_TOKEN" >> $GITHUB_OUTPUT