Skip to content

Commit b552adb

Browse files
authored
fix: Enable all build targets in Nuget package (#45)
2 parents 2a8d9ac + df36fed commit b552adb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/actions/ci/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,18 @@ runs:
2828

2929
- name: Conditional Build Frameworks For Tests
3030
shell: bash
31+
id: build_frameworks
3132
run: |
3233
if [ "$RUNNER_OS" == "Windows" ]; then
33-
echo "BUILDFRAMEWORKS=net471;net6.0;net8.0" >> "$GITHUB_ENV"
34+
echo "BUILDFRAMEWORKS=net471;net6.0;net8.0" >> "$GITHUB_OUTPUT"
3435
else
35-
echo "BUILDFRAMEWORKS=net6.0;net8.0" >> "$GITHUB_ENV"
36+
echo "BUILDFRAMEWORKS=net6.0;net8.0" >> "$GITHUB_OUTPUT"
3637
fi
3738
3839
- name: Run Tests
3940
if: steps.build.outcome == 'success' && inputs.run_tests == 'true'
41+
env:
42+
BUILDFRAMEWORKS: ${{ steps.build_frameworks.outputs.BUILDFRAMEWORKS }}
4043
shell: bash
4144
run: dotnet test
4245

0 commit comments

Comments
 (0)