Skip to content

Commit

Permalink
Update to .NET 8 and CS# v244
Browse files Browse the repository at this point in the history
  • Loading branch information
b0ink committed Jun 26, 2024
1 parent 9c8518a commit 3a827da
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
branches: [ "main" ]

env:
VERSION: 1.0.1
VERSION: 2.0.0
BUILD_NUMBER: ${{ github.run_number }}
PROJECT_PATH: "FixDemoVoiceChat.csproj"
PROJECT_NAME: "FixDemoVoiceChat"
OUTPUT_PATH: "./Release"
OUTPUT_PATH: "./FixDemoVoiceChat"


jobs:
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore

Expand All @@ -48,4 +48,4 @@ jobs:
name: "Version ${{ env.VERSION }}.${{ env.BUILD_NUMBER }}"
tag: "v${{ env.VERSION }}.${{ env.BUILD_NUMBER }}"
body: |
Place the plugin in game/csgo/addons/counterstrikesharp/plugins/FixDemoVoiceChat
Place the FixDemoVoiceChat folder in game/csgo/addons/counterstrikesharp/plugins/
2 changes: 1 addition & 1 deletion FixDemoVoiceChat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public class FixDemoVoiceChat : BasePlugin
{
public override string ModuleName => "Fix Voice Chat in Demo Recordings";
public override string ModuleAuthor => "BOINK";
public override string ModuleVersion => "1.0.1";
public override string ModuleVersion => "2.0.0";

public override void Load(bool hotReload)
{
Expand Down
4 changes: 2 additions & 2 deletions FixDemoVoiceChat.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.143" />
<PackageReference Include="CounterStrikeSharp.API" Version="1.0.244" />
</ItemGroup>
</Project>

0 comments on commit 3a827da

Please sign in to comment.