chore: add final tests, add outputs to action.yml

This commit is contained in:
peterwoodworth committed 2023-07-06 15:19:05 -07:00
1 parent 7b893ba14b
commit 65c2143642
4 files changed
+77 -21

No files matched your search

+2 -2
View File
@@ -90,7 +90,7 @@ export async function run() {
let webIdentityToken: string;
// If OIDC is being used, generate token
// Else, validate that the SDK can pick up credentials
// Else, export credentials provided as input
if (useGitHubOIDCProvider()) {
try {
webIdentityToken = await retryAndBackoff(
@@ -109,7 +109,7 @@ export async function run() {
}
// The STS client for calling AssumeRole pulls creds from the environment.
// Plus, in the assume role case, if the AssumeRole call fails, we want
// the source credentials and account ID to already be masked as secrets
// the source credentials to already be masked as secrets
// in any error messages.
exportCredentials({ AccessKeyId, SecretAccessKey, SessionToken });
} else if (!webIdentityTokenFile && !roleChaining) {