Skip to content

Commit 3ff18c4

Browse files
authored
Fir Actions
1 parent bc9e255 commit 3ff18c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
with:
2525
dotnet-version: ${{ matrix.dotnet-version }}
2626
- name: Install dependencies
27-
run: dotnet restore
27+
run: dotnet restore -p:TargetFramework=net${{ matrix.dotnet-version }}
2828
- name: Build
29-
run: dotnet build --configuration Release --no-restore
29+
run: dotnet build -p:TargetFramework=net${{ matrix.dotnet-version }} --configuration Release --no-restore
3030
- name: Test
3131
run: dotnet test --framework net${{ matrix.dotnet-version }} --collect:"XPlat Code Coverage" --no-restore --verbosity normal --logger trx --results-directory "TestResults-${{ matrix.os }} ${{ matrix.dotnet-version }}"
3232
- name: Upload a Build Artifact

0 commit comments

Comments
 (0)