mirror of
https://github.com/actions/checkout.git
synced 2026-10-07 11:51:25 +00:00
.
This commit is contained in:
1 parent
85a425b582
commit
46054cf00b
3 files changed
+11
-8
No files matched your search
@@ -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