mirror of
https://gitee.com/actions-mirror/checkout.git
synced 2026-09-01 08:22:27 +08:00
.
This commit is contained in:
@@ -130,7 +130,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
||||
}
|
||||
|
||||
// Fix URL when using SSH
|
||||
if (settings.sshKey && initialRemoteUrl != sshUrl) {
|
||||
if (settings.sshKey && initialRemoteUrl !== sshUrl) {
|
||||
await git.setRemoteUrl(sshUrl)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user