2024-02-07 14:03:19 +00:00
|
|
|
### These steps clone the VMR (https://github.com/dotnet/dotnet) into $(Agent.BuildDirectory)/vmr for installer
|
2022-11-08 16:47:32 +00:00
|
|
|
|
|
|
|
parameters:
|
|
|
|
- name: vmrBranch
|
|
|
|
displayName: dotnet/dotnet branch to use
|
|
|
|
type: string
|
2022-12-01 09:51:39 +00:00
|
|
|
|
2022-11-08 16:47:32 +00:00
|
|
|
steps:
|
2022-12-15 08:33:09 +00:00
|
|
|
- checkout: vmr
|
|
|
|
displayName: Clone dotnet/dotnet
|
|
|
|
path: vmr
|
|
|
|
clean: true
|
|
|
|
|
2024-02-07 14:03:19 +00:00
|
|
|
- script: |
|
|
|
|
git checkout --track origin/${{ parameters.vmrBranch }}
|
|
|
|
echo "##vso[task.setvariable variable=vmrBranch]${{ parameters.vmrBranch }}"
|
|
|
|
displayName: Check out ${{ parameters.vmrBranch }}
|
|
|
|
workingDirectory: $(Agent.BuildDirectory)/vmr
|