Skip to content

Commit e9a6065

Browse files
CopilotPhenX
andcommitted
Fix release.yml Test step by adding explicit framework flags
Co-authored-by: PhenX <42170+PhenX@users.noreply.github.com>
1 parent 4454853 commit e9a6065

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ jobs:
4141
- name: Build
4242
run: dotnet build --configuration Release --no-restore /p:Version=$VERSION
4343

44-
- name: Test
45-
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal
44+
- name: Test net8.0
45+
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal --framework net8.0
46+
47+
- name: Test net9.0
48+
run: dotnet test --configuration Release --no-restore --no-build --verbosity normal --framework net9.0
4649

4750
- name: Pack nuget packages
4851
run: dotnet pack --configuration Release --no-restore --no-build --output nupkgs /p:PackageVersion=$VERSION

0 commit comments

Comments
 (0)