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 3
3
# Download and Extract or restore Packages required for Doc Generation
4
4
Write-Host "Download and Extract mdoc to Build.BinariesDirectory/mdoc"
5
5
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" `
7
9
-OutFile "mdoc.zip" | Wait-Process; Expand-Archive -Path "mdoc.zip" -DestinationPath "./mdoc/"
8
10
} catch {
9
11
$_.Exception | Format-List | Out-Host
12
14
13
15
Write-Host "Download and Extract docfx to Build.BinariesDirectory/docfx"
14
16
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" `
16
20
-OutFile "docfx.zip" | Wait-Process; Expand-Archive -Path "docfx.zip" -DestinationPath "./docfx/"
17
21
} catch {
18
22
$_.Exception | Format-List | Out-Host
39
43
-BinDirectory $(Build.BinariesDirectory)
40
44
-DocGenDir ${{parameters.DocGenerationDir}}
41
45
-ArtifactStagingDirectory '$(Build.ArtifactStagingDirectory)'
42
- -verbose
46
+ -verbose
You can’t perform that action at this time.
0 commit comments