Skip to content

Commit 36e60cf

Browse files
authored
Merge pull request #303 from Aiko-IT-Systems/re-enable-net6
feat: re-enable net6
2 parents 37bd7b7 + 9fbf9f3 commit 36e60cf

File tree

18 files changed

+28
-24
lines changed

18 files changed

+28
-24
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ env:
1616

1717
jobs:
1818
build:
19-
timeout-minutes: 6
19+
timeout-minutes: 15
2020
strategy:
2121
matrix:
2222
os: [ubuntu-latest, windows-latest]
23-
dotnet: [7.0.203]
2423
runs-on: ${{ matrix.os }}
2524
name: Build library
2625
steps:
@@ -29,7 +28,9 @@ jobs:
2928
- name: Setup .NET
3029
uses: actions/[email protected]
3130
with:
32-
dotnet-version: ${{ matrix.dotnet }}
31+
dotnet-version: |
32+
7.0.203
33+
6.x
3334
- name: Build library
3435
run: dotnet build -c Release -v normal DisCatSharp.sln
3536
- name: Test library

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ jobs:
3030
languages: ${{ matrix.language }}
3131
- name: Build
3232
run: |
33-
dotnet build -c Release -v minimal -f net7.0 --no-self-contained DisCatSharp.sln
33+
dotnet build -c Release -v minimal --no-self-contained DisCatSharp.sln
3434
- name: Perform CodeQL Analysis
3535
uses: github/codeql-action/analyze@v2

.github/workflows/documentation.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010

1111
jobs:
1212
build:
13-
timeout-minutes: 30
13+
timeout-minutes: 25
1414
runs-on: ubuntu-latest
1515
name: Build documentation
1616
steps:
@@ -29,7 +29,8 @@ jobs:
2929
- name: Restore packages
3030
run: dotnet restore DisCatSharp.sln
3131
- name: Build library
32-
run: dotnet build -c Release --no-restore -v minimal DisCatSharp.sln
32+
run: dotnet build -c Release --no-restore -v minimal -f net7.0 DisCatSharp.sln
33+
timeout-minutes: 7
3334
continue-on-error: true
3435
- name: Add Custom Plugins
3536
run: cp -R DisCatSharp.Docs/dcs/plugins/* /home/runner/.dotnet/tools/.store/docfx/2.67.0/docfx/2.67.0/tools/net7.0/any/

.github/workflows/documentation_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
build:
15-
timeout-minutes: 15
15+
timeout-minutes: 20
1616
runs-on: ubuntu-latest
1717
name: Build documentation
1818
steps:
@@ -30,8 +30,8 @@ jobs:
3030
- name: Restore packages
3131
run: dotnet restore DisCatSharp.sln
3232
- name: Build library
33-
run: dotnet build -c Release -v minimal --no-restore DisCatSharp.sln
34-
timeout-minutes: 3
33+
run: dotnet build -c Release -v minimal -f net7.0 --no-restore DisCatSharp.sln
34+
timeout-minutes: 7
3535
continue-on-error: true
3636
- name: Add Custom Plugins
3737
run: cp -R DisCatSharp.Docs/dcs/plugins/* /home/runner/.dotnet/tools/.store/docfx/2.67.0/docfx/2.67.0/tools/net7.0/any/

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020

2121
jobs:
2222
release:
23-
timeout-minutes: 30
23+
timeout-minutes: 15
2424
runs-on: windows-latest
2525
name: Build library and release
2626
steps:
@@ -29,7 +29,9 @@ jobs:
2929
- name: Setup .NET
3030
uses: actions/[email protected]
3131
with:
32-
dotnet-version: 7.0.203
32+
dotnet-version: |
33+
7.0.203
34+
6.x
3335
- name: Restore dependencies
3436
run: dotnet restore DisCatSharp.sln
3537
- name: Build library as full release

DisCatSharp.ApplicationCommands/DisCatSharp.ApplicationCommands.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Use it on top of your DisCatSharp powered bot and unleash the power of applicati
2121

2222
Documentation: https://docs.discatsharp.tech/articles/modules/application_commands/intro.html
2323
</Description>
24-
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Application Commands,Context Menu Commands</PackageTags>
24+
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net6,Net7,Application Commands,Context Menu Commands</PackageTags>
2525
</PropertyGroup>
2626

2727
<ItemGroup>

DisCatSharp.CommandsNext/DisCatSharp.CommandsNext.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Allow your users to use text commands in your bot.
2222
Note: Requires the Message Content Intent enabled for your discord application.
2323
Documentation: https://docs.discatsharp.tech/articles/modules/commandsnext/intro.html
2424
</Description>
25-
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Text Commands</PackageTags>
25+
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net6,Net7,Text Commands</PackageTags>
2626
</PropertyGroup>
2727

2828
<ItemGroup>

DisCatSharp.Common/DisCatSharp.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ DisCatSharp Common Extension
2222

2323
Common tools for DisCatSharp, like regexes and converters!
2424
</Description>
25-
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Common Tools</PackageTags>
25+
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net6,Net7,Common Tools</PackageTags>
2626
<Nullable>enable</Nullable>
2727
</PropertyGroup>
2828

DisCatSharp.Configuration/DisCatSharp.Configuration.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<PropertyGroup>
1717
<PackageId>DisCatSharp.Configuration</PackageId>
1818
<Description>Configuration for the DisCatSharp Hosting Extension.</Description>
19-
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Hosting,Web,Configuration</PackageTags>
19+
<PackageTags>DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net6,Net7,Hosting,Web,Configuration</PackageTags>
2020
</PropertyGroup>
2121

2222
<ItemGroup>

DisCatSharp.Experimental/DisCatSharp.Experimental.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
Experimental changes for DisCatSharp.
2121
</Description>
22-
<PackageTags>DisCatSharp,Experimental,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7</PackageTags>
22+
<PackageTags>DisCatSharp,Experimental,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net6,Net7</PackageTags>
2323
</PropertyGroup>
2424

2525
<ItemGroup>

0 commit comments

Comments
 (0)