mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-06-09 01:47:04 +00:00
update dist
This commit is contained in:
parent
0adfac7013
commit
b7878cdf5c
1 changed files with 3 additions and 0 deletions
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
|
|
@ -55,6 +55,7 @@ class CredentialsClient {
|
|||
}
|
||||
}
|
||||
async loadCredentials() {
|
||||
(0, core_1.info)('trying to load credentials');
|
||||
const client = new client_sts_1.STSClient({
|
||||
requestHandler: this.requestHandler ? this.requestHandler : undefined,
|
||||
});
|
||||
|
|
@ -667,7 +668,9 @@ async function run() {
|
|||
if (!process.env.GITHUB_ACTIONS || AccessKeyId) {
|
||||
await credentialsClient.validateCredentials(roleCredentials.Credentials?.AccessKeyId);
|
||||
}
|
||||
core.info(`validated credentials`);
|
||||
await (0, helpers_1.exportAccountId)(credentialsClient, maskAccountId);
|
||||
core.info(`exported account id`);
|
||||
}
|
||||
else {
|
||||
core.info('Proceeding with IAM user credentials');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue