This repository was archived by the owner on Nov 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
1414 - name : Setup .NET Core
1515 uses : actions/setup-dotnet@v1
1616 with :
17- dotnet-version : 5 .0.x
17+ dotnet-version : 6 .0.x
1818 - name : Publish
1919 env :
2020 runtime : linux-x64
21- framework : net5 .0
21+ framework : net6 .0
2222 options : --configuration Release -p:DebugType=embedded --self-contained false
2323 run : |
2424 dotnet publish TabletBot $options --runtime $runtime --framework $framework -o bin/$runtime
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net5 .0</TargetFramework >
4+ <TargetFramework >net6 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 </PropertyGroup >
77
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >net5 .0</TargetFramework >
4+ <TargetFramework >net6 .0</TargetFramework >
55 <Nullable >enable</Nullable >
66 </PropertyGroup >
77
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
3+ <PropertyGroup >
4+ <TargetFramework >net6.0</TargetFramework >
5+ <OutputType >Exe</OutputType >
6+ <NoWarn >CS1591</NoWarn >
7+ </PropertyGroup >
8+
39 <ItemGroup >
410 <ProjectReference Include =" ..\TabletBot.Discord\TabletBot.Discord.csproj" />
511 <ProjectReference Include =" ..\TabletBot.Common\TabletBot.Common.csproj" />
1117 <PackageReference Include =" System.Reactive.Core" Version =" 5.0.0" />
1218 </ItemGroup >
1319
14- <PropertyGroup >
15- <OutputType >Exe</OutputType >
16- <TargetFramework >net5.0</TargetFramework >
17- <NoWarn >CS1591</NoWarn >
18- </PropertyGroup >
19-
2020</Project >
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ buildDotnetModule rec {
99
1010 src = ./. ;
1111
12- dotnet-sdk = dotnetCorePackages . sdk_5_0 ;
13- dotnet-runtime = dotnetCorePackages . aspnetcore_5_0 ;
12+ dotnet-sdk = dotnetCorePackages . sdk_6_0 ;
13+ dotnet-runtime = dotnetCorePackages . aspnetcore_6_0 ;
1414
15- dotnetInstallFlags = [ "--framework=net5 .0" ] ;
15+ dotnetInstallFlags = [ "--framework=net6 .0" ] ;
1616
1717 nugetDeps = ./deps.nix ;
1818
Original file line number Diff line number Diff line change 77 ( fetchNuGet { pname = "Discord.Net.Labs.Webhook" ; version = "3.6.1" ; sha256 = "1g5hdx37mfygb9j5m7wwf9d2l52kqilaxvsv8j605yhily56vy8n" ; } )
88 ( fetchNuGet { pname = "Discord.Net.Labs.WebSocket" ; version = "3.6.1" ; sha256 = "1igl11l7jp742mqrzlxkamv6x0hzpwclkbn96cwwljx2yqyx2z7k" ; } )
99 ( fetchNuGet { pname = "JetBrains.Annotations" ; version = "2022.1.0" ; sha256 = "0lsqpssain0v9i3jhpi1c42r5s329y31cvqk5x7gqvy17f29y002" ; } )
10- ( fetchNuGet { pname = "Microsoft.AspNetCore.App.Ref" ; version = "5.0.0" ; sha256 = "0d7sjr89zwq0wxirf8la05hfalv9nhvlczg1c7a508k8aw79jvfg" ; } )
1110 ( fetchNuGet { pname = "Microsoft.CSharp" ; version = "4.4.1" ; sha256 = "0z6d1i6xcf0c00z6rs75rgw4ncs9q2m8amasf6mmbf40fm02ry7g" ; } )
1211 ( fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection" ; version = "6.0.0" ; sha256 = "1wlhb2vygzfdjbdzy7waxblmrx0q3pdcqvpapnpmq9fcx5m8r6w1" ; } )
1312 ( fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection.Abstractions" ; version = "5.0.0" ; sha256 = "17cz6s80va0ch0a6nqa1wbbbp3p8sqxb96lj4qcw67ivkp2yxiyj" ; } )
1413 ( fetchNuGet { pname = "Microsoft.Extensions.DependencyInjection.Abstractions" ; version = "6.0.0" ; sha256 = "1vi67fw7q99gj7jd64gnnfr4d2c0ijpva7g9prps48ja6g91x6a9" ; } )
15- ( fetchNuGet { pname = "Microsoft.NETCore.App.Host.linux-x64" ; version = "5.0.12" ; sha256 = "19rdkk1aalfqgam6xqflb8pikazv5azmv4j3ia08fbr3qpsbrx33" ; } )
16- ( fetchNuGet { pname = "Microsoft.NETCore.App.Ref" ; version = "5.0.0" ; sha256 = "1p62khf9zk23lh91lvz7plv3g1nzmm3b5szqrcm6mb8w3sjk03wi" ; } )
1714 ( fetchNuGet { pname = "Newtonsoft.Json" ; version = "13.0.1" ; sha256 = "0fijg0w6iwap8gvzyjnndds0q4b8anwxxvik7y8vgq97dram4srb" ; } )
1815 ( fetchNuGet { pname = "Octokit" ; version = "0.51.0" ; sha256 = "1qmmw3vva026lz70xw68pwv6m18ry53a6z5didy2b4isd5bnrs09" ; } )
1916 ( fetchNuGet { pname = "System.Collections.Immutable" ; version = "5.0.0" ; sha256 = "1kvcllagxz2q92g81zkz81djkn2lid25ayjfgjalncyc68i15p0r" ; } )
You can’t perform that action at this time.
0 commit comments