Skip to content

Commit 9e7d588

Browse files
committed
feat: experimental net11 support (hoping it works)
1 parent 6909a21 commit 9e7d588

File tree

12 files changed

+26
-16
lines changed

12 files changed

+26
-16
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
dotnet-version: |
4040
10.x
4141
9.x
42+
11.x
4243
8.x
4344
4445
- name: Restore dependencies

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
dotnet-version: |
4646
10.x
4747
9.x
48+
11.x
4849
8.x
4950
- name: Restore dependencies
5051
run: dotnet restore --no-cache -f -v minimal DisCatSharp.slnx

.github/workflows/documentation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
dotnet-version: |
2525
10.x
2626
9.x
27+
11.x
2728
8.x
2829
- name: Git fetch unshallow
2930
run: git fetch --unshallow

.github/workflows/documentation_test.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,17 @@ jobs:
2222
- name: Checkout docs repository
2323
uses: actions/checkout@v6
2424
with:
25-
repository: Aiko-IT-Systems/DisCatSharp.Docs
26-
token: ${{ secrets.NYUW_TOKEN_GH }}
27-
path: GitHub/DisCatSharp.Docs
28-
ref: main
25+
repository: Aiko-IT-Systems/DisCatSharp.Docs
26+
token: ${{ secrets.NYUW_TOKEN_GH }}
27+
path: GitHub/DisCatSharp.Docs
28+
ref: main
2929
- name: Setup .NET
3030
uses: actions/setup-dotnet@v5.2.0
3131
with:
3232
dotnet-version: |
3333
10.x
3434
9.x
35+
11.x
3536
8.x
3637
- name: Install DocFX
3738
run: dotnet tool update -g docfx
@@ -109,4 +110,4 @@ jobs:
109110
Visit the cloudflare action run in https://github.com/Aiko-IT-Systems/DisCatSharp.Docs/commits/${{ github.ref_name }} for details :3
110111
111112
![gif](https://media.tenor.com/3PjRNS8paykAAAAC/pat-pat-head.gif)
112-
message-failure: "Documentation test build failed! :x:"
113+
message-failure: "Documentation test build failed! :x:"

.github/workflows/emoji-autogen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
uses: actions/setup-dotnet@v5.2.0
2121
with:
2222
dotnet-version: 10.x
23+
dotnet-version: 11.x
2324

2425
- name: Run emoji mapping generator
2526
shell: pwsh

.github/workflows/internal-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
dotnet-version: |
2828
10.x
2929
9.x
30+
11.x
3031
8.x
3132
- name: Restore dependencies
3233
run: |
@@ -39,9 +40,9 @@ jobs:
3940
shell: pwsh
4041
run: ./DisCatSharp.Tools/rebuild-lib.ps1 -ArtifactLocation ./dcs-artifacts -Configuration Release -VersionSuffix ${{ steps.vars.outputs.sha }}
4142
env:
42-
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
43-
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
44-
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
43+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
44+
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
45+
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
4546
# - name: Build tools as pre-release
4647
# shell: pwsh
4748
# run: ./DisCatSharp.Tools/rebuild-tools.ps1 -ArtifactLocation ./dcs-tools-artifacts -Configuration Release -VersionSuffix ${{ steps.vars.outputs.sha }}

.github/workflows/public-dev-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
dotnet-version: |
4242
10.x
4343
9.x
44+
11.x
4445
8.x
4546
- name: Restore dependencies
4647
run: dotnet restore --no-cache -f -v minimal DisCatSharp.slnx

.github/workflows/release.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ jobs:
5757
dotnet-version: |
5858
10.x
5959
9.x
60+
11.x
6061
8.x
6162
- name: Restore dependencies (DisCatSharp)
6263
if: ${{ github.event.inputs.packages_to_release == 'DisCatSharp' }}
@@ -106,16 +107,16 @@ jobs:
106107
- name: Publish to NuGet
107108
shell: pwsh
108109
run: |
109-
if (Test-Path *.nupkg) {
110-
dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
111-
}
110+
if (Test-Path *.nupkg) {
111+
dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
112+
}
112113
working-directory: ./dcs-artifacts
113114
- name: Publish Sources to NuGet
114115
shell: pwsh
115116
run: |
116-
if (Test-Path *.snupkg) {
117-
dotnet nuget push *.snupkg --source https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
118-
}
117+
if (Test-Path *.snupkg) {
118+
dotnet nuget push *.snupkg --source https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
119+
}
119120
working-directory: ./dcs-artifacts
120121
- name: Publish to GitHub Packages
121122
shell: pwsh

DisCatSharp.Targets/Library.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<PropertyGroup>
55
<OutputType>Library</OutputType>
66
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
7+
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
78
<LangVersion>latest</LangVersion>
89
<Nullable>enable</Nullable>
910
<InvariantGlobalization>false</InvariantGlobalization>

DisCatSharp.Targets/TestProject.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<PropertyGroup>
55
<OutputType>Library</OutputType>
66
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
7+
<TargetFrameworks>net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
78
<LangVersion>latest</LangVersion>
89
<Nullable>enable</Nullable>
910
<NuGetAuditSuppress>true</NuGetAuditSuppress>

0 commit comments

Comments
 (0)