mirror of
https://github.com/actions/setup-python.git
synced 2025-12-25 09:47:09 +00:00
Update src/utils.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
da6c752c86
commit
d20d6041e9
1 changed files with 4 additions and 1 deletions
|
|
@ -485,7 +485,10 @@ index-url = ${indexUrl}
|
|||
fs.writeFileSync(configPath, configContent, {encoding: 'utf8'});
|
||||
core.info(`Successfully created pip config file at: ${configPath}`);
|
||||
|
||||
// Mask the password in logs if credentials were used
|
||||
// Mask credentials in logs if they were used
|
||||
if (username) {
|
||||
core.setSecret(username);
|
||||
}
|
||||
if (password) {
|
||||
core.setSecret(password);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue