Skip to content

Commit

Permalink
feat: net8 support
Browse files Browse the repository at this point in the history
- In `build.yml`, the `dotnet` version matrix was updated to include versions 6.x, 7.0.403, and 8.0.100. (build.yml)
- In `codeql.yml`, the `dotnet` version was updated to include versions 6.x, 7.0.403, and 8.0.100. (codeql.yml)
- In `release.yml`, the `dotnet` version was updated to include versions 6.x, 7.0.403, and 8.0.100. (release.yml)
- The `TargetFrameworks` property in `Library.targets` was updated to include the `net8.0` framework. (Library.targets)
  • Loading branch information
Lulalaby committed Nov 15, 2023
1 parent 19c577f commit 684e63f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
dotnet: [7.0.400]
dotnet: [6.x, 7.0.403, 8.0.100]
runs-on: ${{ matrix.os }}
name: Build library
steps:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: |
8.0.100
7.0.403
6.x
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ jobs:
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 7.0.400
dotnet-version: |
8.0.100
7.0.403
6.x
- name: Restore dependencies
run: dotnet restore
- name: Build library as full release
Expand Down
2 changes: 1 addition & 1 deletion Targets/Library.targets
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

0 comments on commit 684e63f

Please sign in to comment.