From 90193ec014db84c52b85e892808e6a4738e413f0 Mon Sep 17 00:00:00 2001 From: Whit Waldo Date: Tue, 14 Jan 2025 17:58:05 -0600 Subject: [PATCH] Added specific .NET framework to dotnet build operation as well Signed-off-by: Whit Waldo --- .github/workflows/example-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/example-tests.yml b/.github/workflows/example-tests.yml index 8fb7cbfd..96d44a51 100644 --- a/.github/workflows/example-tests.yml +++ b/.github/workflows/example-tests.yml @@ -145,7 +145,7 @@ jobs: expectation_type=$(echo $test | jq -r '.expectation_type') echo "Building and testing $project_name with .NET ${{ matrix.dotnet-version }}" - dotnet build $csproj_path --configuration Release /p:GITHUB_ACTIONS=false + dotnet build $csproj_path --framework ${{ matrix.framework }} --configuration Release /p:GITHUB_ACTIONS=false output=$(dotnet run --project $csproj_path --framework ${{ matrix.framework }} -- $arguments) for expected in $expectedOutputs; do