From df36fedca0eb13c8c41b9c0032bc37e6ff440279 Mon Sep 17 00:00:00 2001 From: jsonbailey Date: Tue, 13 May 2025 07:37:44 -0500 Subject: [PATCH] [sdk-1247] fix: Enable all build targets in Nuget package --- .github/actions/ci/action.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index 121bac2..699a756 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -28,15 +28,18 @@ runs: - name: Conditional Build Frameworks For Tests shell: bash + id: build_frameworks run: | if [ "$RUNNER_OS" == "Windows" ]; then - echo "BUILDFRAMEWORKS=net471;net6.0;net8.0" >> "$GITHUB_ENV" + echo "BUILDFRAMEWORKS=net471;net6.0;net8.0" >> "$GITHUB_OUTPUT" else - echo "BUILDFRAMEWORKS=net6.0;net8.0" >> "$GITHUB_ENV" + echo "BUILDFRAMEWORKS=net6.0;net8.0" >> "$GITHUB_OUTPUT" fi - name: Run Tests if: steps.build.outcome == 'success' && inputs.run_tests == 'true' + env: + BUILDFRAMEWORKS: ${{ steps.build_frameworks.outputs.BUILDFRAMEWORKS }} shell: bash run: dotnet test