Skip to content

Commit

Permalink
migrate to dotnet 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lengran committed Mar 26, 2024
1 parent 5317f57 commit d0ac4f2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 36 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Run build
run: dotnet build
- name: Create output directory
run: |
mkdir -p output/OpenPrefirePrac
mv ./bin/Debug/net7.0/OpenPrefirePrac.dll output/OpenPrefirePrac/
mv ./bin/Debug/net7.0/OpenPrefirePrac.pdb output/OpenPrefirePrac/
mv ./bin/Debug/net7.0/OpenPrefirePrac.deps.json output/OpenPrefirePrac/
mv ./bin/Debug/net7.0/MaxMind.Db.dll output/OpenPrefirePrac/
mv ./bin/Debug/net7.0/MaxMind.GeoIP2.dll output/OpenPrefirePrac/
mv ./bin/Debug/net8.0/OpenPrefirePrac.dll output/OpenPrefirePrac/
mv ./bin/Debug/net8.0/OpenPrefirePrac.pdb output/OpenPrefirePrac/
mv ./bin/Debug/net8.0/OpenPrefirePrac.deps.json output/OpenPrefirePrac/
mv ./bin/Debug/net8.0/MaxMind.Db.dll output/OpenPrefirePrac/
mv ./bin/Debug/net8.0/MaxMind.GeoIP2.dll output/OpenPrefirePrac/
mv ./maps output/OpenPrefirePrac/
mv ./lang output/OpenPrefirePrac/
wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-Country.mmdb -P output/OpenPrefirePrac/ -q
Expand Down
4 changes: 2 additions & 2 deletions OpenPrefirePrac.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ namespace OpenPrefirePrac;
public class OpenPrefirePrac : BasePlugin
{
public override string ModuleName => "Open Prefire Prac";
public override string ModuleVersion => "0.0.18";
public override string ModuleVersion => "0.1.18";
public override string ModuleAuthor => "Lengran";
public override string ModuleDescription => "A plugin for practicing prefire routes in CS2. https://github.com/lengran/OpenPrefirePrac";
public override string ModuleDescription => "A plugin for practicing prefire in CS2. https://github.com/lengran/OpenPrefirePrac";

private readonly Dictionary<CCSPlayerController, PlayerStatus> _playerStatuses = new();

Expand Down
6 changes: 3 additions & 3 deletions OpenPrefirePrac.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.191" />
<PackageReference Include="Microsoft.Extensions.Localization.Abstractions" Version="7.0.3" />
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.202" />
<PackageReference Include="Microsoft.Extensions.Localization.Abstractions" Version="8.0.3" />
<PackageReference Include="MaxMind.GeoIP2" Version="5.2.0" />
<PackageReference Include="MaxMind.Db" Version="4.1.0" />
</ItemGroup>
Expand Down
25 changes: 0 additions & 25 deletions OpenPrefirePrac.sln

This file was deleted.

0 comments on commit d0ac4f2

Please sign in to comment.