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 @@ -149,14 +149,10 @@ jobs:
149
149
repository : ' microsoft/vcpkg'
150
150
path : ' compat/vcbuild/vcpkg'
151
151
- name : download vcpkg artifacts
152
- shell : powershell
153
- run : |
154
- $urlbase = "https://dev.azure.com/git/git/_apis/build/builds"
155
- $id = ((Invoke-WebRequest -UseBasicParsing "${urlbase}?definitions=9&statusFilter=completed&resultFilter=succeeded&`$top=1").content | ConvertFrom-JSON).value[0].id
156
- $downloadUrl = ((Invoke-WebRequest -UseBasicParsing "${urlbase}/$id/artifacts").content | ConvertFrom-JSON).value[0].resource.downloadUrl
157
- (New-Object Net.WebClient).DownloadFile($downloadUrl, "compat.zip")
158
- Expand-Archive compat.zip -DestinationPath . -Force
159
- Remove-Item compat.zip
152
+ uses : git-for-windows/get-azure-pipelines-artifact@v0
153
+ with :
154
+ repository : git/git
155
+ definitionId : 9
160
156
- name : add msbuild to PATH
161
157
uses : microsoft/setup-msbuild@v1
162
158
- name : copy dlls to root
You can’t perform that action at this time.
0 commit comments