Skip to content

Commit 0149efe

Browse files
committed
fix: specify target framework for build and test commands in CI workflow
1 parent b58b059 commit 0149efe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636

3737
- name: Build projects
3838
shell: bash
39-
run: dotnet build ./all.csproj
39+
run: dotnet build ./all.csproj -f net${{ matrix.dotnet-version }}.0
4040

4141
- name: Run tests
4242
shell: bash
43-
run: dotnet test ./all.csproj /p:BuildTestsOnly=true --no-build -- RunConfiguration.MaxCpuCount=1
43+
run: dotnet test ./all.csproj /p:BuildTestsOnly=true --no-build -f net${{ matrix.dotnet-version }}.0 -- RunConfiguration.MaxCpuCount=1

0 commit comments

Comments
 (0)