From 7f3d31526a3cce086d376bd44a6dba27f49e48ae Mon Sep 17 00:00:00 2001 From: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com> Date: Fri, 5 Jun 2026 15:27:30 -0700 Subject: [PATCH] fix: daily CI pipeline configuration - Added missing image property to 1ES pool config - Switched pool OS to Windows to align with release pipeline - Added Azure Artifacts feed for NuGet restore to bypass network isolation - Installed both .NET 8 and .NET 10 SDKs to support all test target frameworks Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .azure-pipelines/daily-ci-build.yml | 30 +++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/daily-ci-build.yml b/.azure-pipelines/daily-ci-build.yml index 56bf723556e..8873d7d8744 100644 --- a/.azure-pipelines/daily-ci-build.yml +++ b/.azure-pipelines/daily-ci-build.yml @@ -21,7 +21,8 @@ extends: parameters: pool: name: Azure-Pipelines-1ESPT-ExDShared - os: linux + image: windows-latest + os: windows sdl: sourceAnalysisPool: name: Azure-Pipelines-1ESPT-ExDShared @@ -43,12 +44,33 @@ extends: submodules: recursive - task: UseDotNet@2 - displayName: Set up .NET + displayName: Set up .NET 8 inputs: packageType: 'sdk' - version: '10.x' + version: 8.x - - script: dotnet restore Microsoft.Graph.Beta.sln + - task: UseDotNet@2 + displayName: Set up .NET 10 + inputs: + packageType: 'sdk' + version: 10.x + + - task: NuGetAuthenticate@1 + displayName: Authenticate to Azure Artifacts + + - powershell: | + @" + + + + + + + + "@ | Set-Content -Path "$(Build.SourcesDirectory)\nuget.config" -Encoding UTF8 + displayName: Create nuget.config + + - script: dotnet restore Microsoft.Graph.Beta.sln --configfile nuget.config displayName: Restore dependencies workingDirectory: $(Build.SourcesDirectory)