This should speed up the checkout step a little bit.

Ref: https://github.com/xamarin/yaml-templates/pull/338.
This commit is contained in:
Rolf Bjarne Kvinge 2024-10-24 16:55:59 +02:00 коммит произвёл GitHub
Родитель f7dae27fa2
Коммит c2c617bf00
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -21,6 +21,7 @@ steps:
clean: true
submodules: recursive
path: s/xamarin-macios
fetchTags: false
- pwsh: ./undo_github_merge.ps1 -SourceBranch "$(Build.SourceBranch)" -IsPr "${{ parameters.isPR }}"
name: fix_commit
@ -32,9 +33,11 @@ steps:
clean: true
fetchDepth: 0
persistCredentials: true # hugely important, else there are some scripts that check a single file from maccore that will fail
fetchTags: false
- checkout: yaml-templates
clean: true
fetchTags: false
- pwsh: ./clean_git_vsts.ps1 -GithubToken "$(GitHub.Token)" -MaccorePath "$(System.DefaultWorkingDirectory)/maccore"
displayName: 'Clean git mess from VSTS'

Просмотреть файл

@ -24,6 +24,7 @@ steps:
clean: true
submodules: recursive
path: s/xamarin-macios
fetchTags: false
- ${{ if parameters.isPR }}:
- pwsh: |

Просмотреть файл

@ -29,9 +29,13 @@ steps:
commit: ${{ parameters.commit }}
clean: true
path: s/xamarin-macios
fetchTags: false
- checkout: maccore
clean: true
fetchDepth: 0
persistCredentials: true # hugely important, else there are some scripts that check a single file from maccore that will fail
fetchTags: false
- pwsh: '& "$Env:SYSTEM_DEFAULTWORKINGDIRECTORY/$($Env:BUILD_REPOSITORY_NAME.Split(''/'')[1])/tools/devops/automation/scripts/show_bot_info.ps1"'
displayName: 'Show Bot Info'