mirror of
https://github.com/actions/checkout.git
synced 2026-01-20 23:58:56 +08:00
.
This commit is contained in:
parent
036772999d
commit
605b7eb961
3 changed files with 24 additions and 0 deletions
|
|
@ -94,7 +94,9 @@ export async function prepareExistingDirectory(
|
|||
|
||||
// Update to the preferred remote URL
|
||||
if (remoteUrl !== preferredRemoteUrl) {
|
||||
core.startGroup('Setting the remote URL')
|
||||
await git.setRemoteUrl(preferredRemoteUrl)
|
||||
core.endGroup()
|
||||
}
|
||||
} catch (error) {
|
||||
core.warning(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue