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