File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -184,14 +184,10 @@ jobs:
184
184
repository : ' microsoft/vcpkg'
185
185
path : ' compat/vcbuild/vcpkg'
186
186
- name : download vcpkg artifacts
187
- shell : powershell
188
- run : |
189
- $urlbase = "https://dev.azure.com/git/git/_apis/build/builds"
190
- $id = ((Invoke-WebRequest -UseBasicParsing "${urlbase}?definitions=9&statusFilter=completed&resultFilter=succeeded&`$top=1").content | ConvertFrom-JSON).value[0].id
191
- $downloadUrl = ((Invoke-WebRequest -UseBasicParsing "${urlbase}/$id/artifacts").content | ConvertFrom-JSON).value[0].resource.downloadUrl
192
- (New-Object Net.WebClient).DownloadFile($downloadUrl, "compat.zip")
193
- Expand-Archive compat.zip -DestinationPath . -Force
194
- Remove-Item compat.zip
187
+ uses : git-for-windows/get-azure-pipelines-artifact@v0
188
+ with :
189
+ repository : git/git
190
+ definitionId : 9
195
191
- name : add msbuild to PATH
196
192
uses : microsoft/setup-msbuild@v1
197
193
- name : copy dlls to root
You can’t perform that action at this time.
0 commit comments