Closed runlevel5 closed 2 months ago
Sorry, I was wrong. I was using an old version in which unset-current-credentials
was not yet introduced. After trying out the latest version, everything works
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one.
Describe the bug
Well we could clearly see that
unset-current-credentials
was added which basically just setAWS_*
environment variable to empty string. And it is NOT enough to completely purge the AWS session which lead to the error in which the last session is still be used.Expected Behavior
All
AWS_*
environment variables get UNSET fully.Current Behavior
All
AWS_*
environment variables are NOT unset and basically set to empty string.Reproduction Steps
The 4th would still use
AWS_
vars of the 1st step unfortunatelyPossible Solution
I do not know if there are any way because AFAIK
@actions/core
does not provide any API to unset variablesAdditional Information/Context
No response