We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a8d9ac + df36fed commit b552adbCopy full SHA for b552adb
.github/actions/ci/action.yml
@@ -28,15 +28,18 @@ runs:
28
29
- name: Conditional Build Frameworks For Tests
30
shell: bash
31
+ id: build_frameworks
32
run: |
33
if [ "$RUNNER_OS" == "Windows" ]; then
- echo "BUILDFRAMEWORKS=net471;net6.0;net8.0" >> "$GITHUB_ENV"
34
+ echo "BUILDFRAMEWORKS=net471;net6.0;net8.0" >> "$GITHUB_OUTPUT"
35
else
- echo "BUILDFRAMEWORKS=net6.0;net8.0" >> "$GITHUB_ENV"
36
+ echo "BUILDFRAMEWORKS=net6.0;net8.0" >> "$GITHUB_OUTPUT"
37
fi
38
39
- name: Run Tests
40
if: steps.build.outcome == 'success' && inputs.run_tests == 'true'
41
+ env:
42
+ BUILDFRAMEWORKS: ${{ steps.build_frameworks.outputs.BUILDFRAMEWORKS }}
43
44
run: dotnet test
45
0 commit comments