mirror of
https://gitea.com/actions/checkout.git
synced 2025-12-25 19:00:47 +08:00
.
This commit is contained in:
@@ -167,7 +167,7 @@ class GitAuthHelper {
|
||||
}
|
||||
|
||||
async removeGlobalAuth(): Promise<void> {
|
||||
core.info(`Unsetting HOME override`)
|
||||
core.debug(`Unsetting HOME override`)
|
||||
this.git.removeEnvironmentVariable('HOME')
|
||||
await io.rmRF(this.temporaryHomePath)
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ export async function prepareExistingDirectory(
|
||||
|
||||
// Update to the preferred remote URL
|
||||
if (remoteUrl !== preferredRemoteUrl) {
|
||||
core.startGroup('Setting the remote URL')
|
||||
core.startGroup('Updating the remote URL')
|
||||
await git.setRemoteUrl(preferredRemoteUrl)
|
||||
core.endGroup()
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
||||
|
||||
// Fix URL when using SSH
|
||||
if (settings.sshKey && initialRemoteUrl !== sshUrl) {
|
||||
core.startGroup('Updating the repository to use the SSH URL')
|
||||
core.startGroup('Updating the remote URL')
|
||||
await git.setRemoteUrl(sshUrl)
|
||||
core.endGroup()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user