From eb6f1e336985d7f69a686030023cdcc84ade5e62 Mon Sep 17 00:00:00 2001 From: jvyden Date: Sat, 16 Oct 2021 20:19:38 -0400 Subject: [PATCH] Tell runner to only build for a given framework --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b597d422..09fc84d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,8 @@ jobs: # - { prettyName: macOS, fullName: macos-latest } - { prettyName: Linux, fullName: ubuntu-latest } dotnetVersion: - - { prettyName: .NET 6.0 Preview, fullName: 6.0.x } - - { prettyName: .NET 5.0, fullName: 5.0.x } + - { prettyName: .NET 6.0 Preview, fullName: 6.0.x, msbuildName: net6.0 } + - { prettyName: .NET 5.0, fullName: 5.0.x, msbuildName: net5.0 } timeout-minutes: 10 steps: - name: Checkout @@ -30,7 +30,7 @@ jobs: include-prerelease: true - name: Compile - run: dotnet build -c Debug + run: dotnet build -c Debug -f ${{matrix.dotnetVersion.msbuildName}} - name: Test run: --logger "trx;LogFileName=TestResults-${{matrix.os.prettyName}}-${{matrix.threadingMode}}.trx"