This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 8bcd2101ffa226ae141d23a58d8295bbe5208155
Author: Shad Storhaug <[email protected]>
AuthorDate: Sun Jan 16 02:36:44 2022 +0700

    azure-pipelines.yml: Upgraded docs and website to use windows-latest (fixes 
#601)
---
 azure-pipelines.yml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 8926762..a0f550e 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -267,9 +267,13 @@ stages:
   - job: Docs
     condition: and(succeeded(), eq(variables['GenerateDocs'], 'true'))
     pool:
-      vmImage: 'vs2017-win2016'
+      vmImage: 'windows-latest'
 
     steps:
+    - template: '.build/azure-templates/install-dotnet-sdk.yml'
+      parameters:
+        sdkVersion: '$(DotNetSDKVersion)'
+
     - pwsh: |
          $(Build.SourcesDirectory)/websites/apidocs/docs.ps1 -LuceneNetVersion 
$(PackageVersion) -Clean -BaseUrl https://lucenenet.apache.org/docs/
       errorActionPreference: 'continue'
@@ -293,7 +297,7 @@ stages:
   - job: Website
     condition: and(succeeded(), eq(variables['GenerateWebsite'], 'true'))
     pool:
-      vmImage: 'vs2017-win2016'
+      vmImage: 'windows-latest'
 
     steps:
     - pwsh: |

Reply via email to