зеркало из https://github.com/dotnet/razor.git
11 строки
322 B
YAML
11 строки
322 B
YAML
# Shallow checkout sources on Windows
|
|
steps:
|
|
- checkout: none
|
|
|
|
- script: |
|
|
@echo on
|
|
git init
|
|
git remote add origin "$(Build.Repository.Uri)"
|
|
git fetch --progress --no-tags --depth=1 origin "$(Build.SourceVersion)"
|
|
git checkout "$(Build.SourceVersion)"
|
|
displayName: Shallow Checkout |