Skip to content

Commit

Permalink
Revert to NET 8.0 because I hate Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Pythonic-Rainbow committed Jan 7, 2024
1 parent 44e2e84 commit f5f4a36
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/compile-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x
- name: Build
run: dotnet publish -c Release -r linux-arm64 --no-self-contained
- name: Upload program
uses: actions/upload-artifact@v3
with:
name: Bot
path: |
Bot/bin/Release/net6.0/linux-arm64/Bot
Bot/bin/Release/net6.0/linux-arm64/*.dll
Bot/bin/Release/net6.0/linux-arm64/*.json
Bot/bin/Relesae/net6.0/linux-arm64/runtimes/linux-arm64/native/*
Bot/bin/Release/net8.0/linux-arm64/Bot
Bot/bin/Release/net8.0/linux-arm64/*.dll
Bot/bin/Release/net8.0/linux-arm64/*.json
15 changes: 1 addition & 14 deletions Bot/Bot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>Hyperstellar</RootNamespace>
Expand All @@ -18,17 +18,4 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<RuntimeHostConfigurationOption Include="System.Globalization.AppLocalIcu" Value="72.1.0.3" />
<PackageReference Include="Microsoft.ICU.ICU4C.Runtime" Version="72.1.0.3" />
</ItemGroup>

<ItemGroup>
<IcuAssemblies Include="icu\*.so*" />
<RuntimeTargetsCopyLocalItems Include="@(IcuAssemblies)" AssetType="native" CopyLocal="true"
DestinationSubDirectory="runtimes/linux-arm64/native/" DestinationSubPath="%(FileName)%(Extension)"
RuntimeIdentifier="linux-arm64" NuGetPackageId="System.Private.Runtime.UnicodeData" />
</ItemGroup>

</Project>

0 comments on commit f5f4a36

Please sign in to comment.