Skip to content

Commit

Permalink
fix: build of restore with correct framework (#88)
Browse files Browse the repository at this point in the history
* fix: build without matrix 3 frameworks
  • Loading branch information
Dovchik authored Oct 16, 2024
1 parent b717655 commit a529895
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a529895

Please sign in to comment.