File tree 5 files changed +6
-9
lines changed
5 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -219,10 +219,9 @@ jobs:
219
219
clean : true
220
220
fetchTags : false
221
221
- task : CmdLine@2
222
- # We can use the preinstalled vcpkg instead of the latest when MS Hosted updates their vcpkg to the newer DirectX-Headers
223
222
displayName : Fetch VCPKG
224
223
inputs :
225
- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
224
+ script : git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
226
225
workingDirectory : $(Build.SourcesDirectory)
227
226
- task : CmdLine@2
228
227
displayName : VCPKG Bootstrap
Original file line number Diff line number Diff line change @@ -219,10 +219,9 @@ jobs:
219
219
clean : true
220
220
fetchTags : false
221
221
- task : CmdLine@2
222
- # We can use the preinstalled vcpkg instead of the latest when MS Hosted updates their vcpkg to the newer DirectX-Headers
223
222
displayName : Fetch VCPKG
224
223
inputs :
225
- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
224
+ script : git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
226
225
workingDirectory : $(Build.SourcesDirectory)
227
226
- task : CmdLine@2
228
227
displayName : VCPKG Bootstrap
Original file line number Diff line number Diff line change 73
73
clean : true
74
74
fetchTags : false
75
75
- task : CmdLine@2
76
- # We can use the preinstalled vcpkg instead of the latest when MS Hosted updates their vcpkg to the newer DirectX-Headers
77
76
displayName : Fetch VCPKG
78
77
inputs :
79
- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
78
+ script : git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
80
79
workingDirectory : $(Build.SourcesDirectory)
81
80
- task : CmdLine@2
82
81
displayName : VCPKG Bootstrap
@@ -203,7 +202,7 @@ jobs:
203
202
- task : CmdLine@2
204
203
displayName : Fetch VCPKG
205
204
inputs :
206
- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
205
+ script : git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
207
206
workingDirectory : $(Build.SourcesDirectory)
208
207
- task : CmdLine@2
209
208
displayName : Fetch Tests
Original file line number Diff line number Diff line change @@ -136,7 +136,7 @@ jobs:
136
136
- task : CmdLine@2
137
137
displayName : Fetch VCPKG
138
138
inputs :
139
- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
139
+ script : git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
140
140
workingDirectory : $(Build.SourcesDirectory)
141
141
- task : Bash@3
142
142
displayName : VCPKG Bootstrap
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ jobs:
155
155
- task : CmdLine@2
156
156
displayName : Fetch VCPKG
157
157
inputs :
158
- script : git clone --quiet --no-tags https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
158
+ script : git clone --quiet --no-tags --depth=1 --branch $(VCPKG_TAG) https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
159
159
workingDirectory : $(Build.SourcesDirectory)
160
160
- task : Bash@3
161
161
displayName : VCPKG Bootstrap
You can’t perform that action at this time.
0 commit comments