From e156fde522acc1fdd21dd255511caec639a4e557 Mon Sep 17 00:00:00 2001 From: Distractic <46402441+Distractic@users.noreply.github.com> Date: Sun, 21 Jan 2024 08:30:02 +0100 Subject: [PATCH] fix: Replace NetcodePatcher action with MSBuild (#17) --- .github/actions/init/action.yml | 12 +++--------- Template/Template.csproj | 11 +++++++++-- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/actions/init/action.yml b/.github/actions/init/action.yml index bccb5a6..475bca2 100644 --- a/.github/actions/init/action.yml +++ b/.github/actions/init/action.yml @@ -18,15 +18,9 @@ runs: shell: bash run: dotnet restore - - name: Setup Netcode Patcher - id: setup-netcode-patcher - uses: Lordfirespeed/setup-netcode-patcher@v0 - with: - netcode-patcher-version: 2.4.0 - # https://www.nuget.org/packages/LethalCompany.GameLibs.Steam - # Must be the same version as the one used in the project - deps-packages: '[{"id": "UnityEngine.Modules", "version": "2022.3.9"}, {"id": "LethalCompany.GameLibs.Steam", "version": "49.0.0-alpha.1"}]' - target-framework: "netstandard2.1" + - name: Install NetcodePatcher + shell: bash + run: dotnet tool install -g evaisa.netcodepatcher.cli - name: Install Thunderstore client if: ${{ inputs.thunderstore-client == 'true' }} diff --git a/Template/Template.csproj b/Template/Template.csproj index 11c2673..5eb1947 100644 --- a/Template/Template.csproj +++ b/Template/Template.csproj @@ -32,6 +32,13 @@ + + + + + + + @@ -58,11 +65,11 @@ - + $(MinVerMajor).$(MinVerMinor).$(MinVerPatch) - +