From 8348584ac29f91a2c5e5e3db05166add1bb7b2af Mon Sep 17 00:00:00 2001 From: westey <164392973+westey-m@users.noreply.github.com> Date: Thu, 9 Apr 2026 17:43:54 +0100 Subject: [PATCH] VerifySamples: Filter projects to net10 only (#5184) --- .github/workflows/dotnet-verify-samples.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-verify-samples.yml b/.github/workflows/dotnet-verify-samples.yml index b1c13a275f..40ee3124b4 100644 --- a/.github/workflows/dotnet-verify-samples.yml +++ b/.github/workflows/dotnet-verify-samples.yml @@ -63,10 +63,19 @@ jobs: tenant-id: ${{ secrets.AZURE_TENANT_ID }} subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} + - name: Generate filtered solution + shell: pwsh + run: | + ./dotnet/eng/scripts/New-FilteredSolution.ps1 ` + -Solution dotnet/agent-framework-dotnet.slnx ` + -TargetFramework net10.0 ` + -Configuration Debug ` + -OutputPath dotnet/filtered.slnx ` + -Verbose + - name: Build solution - working-directory: dotnet shell: bash - run: dotnet build agent-framework-dotnet.slnx -f net10.0 --warnaserror + run: dotnet build dotnet/filtered.slnx -f net10.0 --warnaserror - name: Run verify-samples id: verify