diff --git a/build/templates/job_nuget_ado.yml b/build/templates/job_nuget_ado.yml index 49940af..1b1991f 100644 --- a/build/templates/job_nuget_ado.yml +++ b/build/templates/job_nuget_ado.yml @@ -4,7 +4,7 @@ parameters: - name: project type: string - #Your build pipeline references an undefined variable named ‘$env:SYSTEM_ACCESSTOKEN’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 + #Your build pipeline references an undefined variable named ‘$env:SYSTEM_ACCESSTOKEN’. Create or edit the build pipeline for this YAML file, define the variable on the Variables tab. See https://go.microsoft.com/fwlink/?linkid=865972 jobs: - job: check${{ parameters.name }} @@ -72,6 +72,12 @@ jobs: env: SYSTEM_ACCESSTOKEN: $(System.AccessToken) + - task: UseDotNet@2 + displayName: 'Use .Net Core sdk 6.x' + inputs: + version: 6.x + includePreviewVersions: true + - task: DotNetCoreCLI@2 displayName: dotnetcore Restore inputs: