File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
eng/pipelines/templates/steps Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 33 # Download and Extract or restore Packages required for Doc Generation
44 Write-Host "Download and Extract mdoc to Build.BinariesDirectory/mdoc"
55 try {
6- Invoke-WebRequest -MaximumRetryCount 10 -Uri "https://github.com/mono/api-doc-tools/releases/download/mdoc-5.7.4.9/mdoc-5.7.4.9.zip" `
6+ # Currently having issues downloading from github on windows 2022 so moved to a blob account
7+ # https://github.com/mono/api-doc-tools/releases/download/mdoc-5.7.4.9/mdoc-5.7.4.9.zip
8+ Invoke-WebRequest -MaximumRetryCount 10 -Uri "https://azuresdkdocs.blob.core.windows.net/tools/mdoc/5.7.4.9/mdoc-5.7.4.9.zip" `
79 -OutFile "mdoc.zip" | Wait-Process; Expand-Archive -Path "mdoc.zip" -DestinationPath "./mdoc/"
810 } catch {
911 $_.Exception | Format-List | Out-Host
1214
1315 Write-Host "Download and Extract docfx to Build.BinariesDirectory/docfx"
1416 try {
15- Invoke-WebRequest -MaximumRetryCount 10 -Uri "https://github.com/dotnet/docfx/releases/download/$(DocFxVersion)/docfx.zip" `
17+ # Currently having issues downloading from github on windows 2022 so moved to a blob account
18+ # https://github.com/dotnet/docfx/releases/download/$(DocFxVersion)/docfx.zip
19+ Invoke-WebRequest -MaximumRetryCount 10 -Uri "https://azuresdkdocs.blob.core.windows.net/tools/docfx/$(DocFxVersion)/docfx.zip" `
1620 -OutFile "docfx.zip" | Wait-Process; Expand-Archive -Path "docfx.zip" -DestinationPath "./docfx/"
1721 } catch {
1822 $_.Exception | Format-List | Out-Host
3943 -BinDirectory $(Build.BinariesDirectory)
4044 -DocGenDir ${{parameters.DocGenerationDir}}
4145 -ArtifactStagingDirectory '$(Build.ArtifactStagingDirectory)'
42- -verbose
46+ -verbose
You can’t perform that action at this time.
0 commit comments