File tree Expand file tree Collapse file tree 12 files changed +26
-16
lines changed
Expand file tree Collapse file tree 12 files changed +26
-16
lines changed Original file line number Diff line number Diff line change 3939 dotnet-version : |
4040 10.x
4141 9.x
42+ 11.x
4243 8.x
4344
4445 - name : Restore dependencies
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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 
112- message-failure : " Documentation test build failed! :x:"
113+ message-failure : " Documentation test build failed! :x:"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 2727 dotnet-version : |
2828 10.x
2929 9.x
30+ 11.x
3031 8.x
3132 - name : Restore dependencies
3233 run : |
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 }}
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments