From a529895dffca7e768a68ab05dadf494c60f064dd Mon Sep 17 00:00:00 2001 From: Volodymyr Lisovskyi Date: Wed, 16 Oct 2024 12:56:17 +0200 Subject: [PATCH] fix: build of restore with correct framework (#88) * fix: build without matrix 3 frameworks --- .github/workflows/build.yaml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 026fff5e..7f512481 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,13 +12,6 @@ env: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - dotnet-version: [ - { version: '6.0.x', tfm: 'net6.0' }, - { version: '7.0.x', tfm: 'net7.0' }, - { version: '8.0.x', tfm: 'net8.0' }, - ] services: doppleganger: @@ -52,11 +45,14 @@ jobs: with: useConfigFile: true - - name: Setup .NET SDK ${{ matrix.dotnet-version.version }} + - name: Setup .NET SDK id: dotnet uses: actions/setup-dotnet@v4 with: - dotnet-version: ${{ matrix.dotnet-version.version }} + dotnet-version: | + 6.0.x + 7.0.x + 8.0.x - name: Checkout Wiremock fixtures repo uses: actions/checkout@v3 @@ -80,7 +76,7 @@ jobs: run: dotnet build -p:Version=${{ steps.gitversion.outputs.semVer }} --configuration Release --no-restore - name: Test - run: dotnet test --no-restore --verbosity normal --framework ${{ matrix.dotnet-version.tfm }} + run: dotnet test --no-restore --verbosity normal # --include-symbols? - name: Pack