[devops] Don't checkout tags. (#21499)
This should speed up the checkout step a little bit. Ref: https://github.com/xamarin/yaml-templates/pull/338.
This commit is contained in:
Родитель
f7dae27fa2
Коммит
c2c617bf00
|
@ -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'
|
||||
|
|
Загрузка…
Ссылка в новой задаче