From c1baf9605e2cc5d6a56e6b77160242a0006c7520 Mon Sep 17 00:00:00 2001 From: MeFisto94 Date: Sun, 26 Nov 2023 11:48:14 +0100 Subject: [PATCH] Build the Payload as nupkg and upgrade dependencies to consume nuget pkgs as well --- .github/workflows/netfx.yml | 33 +++++++++++++++++++++++++++++++++ Andraste.Payload.csproj | 35 ++++++++++++++++++++++++++++------- packages.config | 8 -------- 3 files changed, 61 insertions(+), 15 deletions(-) create mode 100644 .github/workflows/netfx.yml delete mode 100644 packages.config diff --git a/.github/workflows/netfx.yml b/.github/workflows/netfx.yml new file mode 100644 index 0000000..faedd7a --- /dev/null +++ b/.github/workflows/netfx.yml @@ -0,0 +1,33 @@ +name: Build Repository +on: [push] + +jobs: + build: + runs-on: windows-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild + - name: Setup MSBuild.exe + uses: microsoft/setup-msbuild@v1.1 + + - name: Restore NuGet Packages + run: nuget restore Andraste.Payload.csproj + + - name: Build project + run: msbuild Andraste.Payload.csproj /p:Configuration=Release /p:GeneratePackageOnBuild=true + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + with: + name: DLL + path: bin\Release\net48\Andraste.Payload.dll + - name: Upload NuPkg + uses: actions/upload-artifact@v3 + with: + name: NuGet + path: bin\Release\Andraste.Payload.*.nupkg diff --git a/Andraste.Payload.csproj b/Andraste.Payload.csproj index 4cfc1ea..7fc68e0 100644 --- a/Andraste.Payload.csproj +++ b/Andraste.Payload.csproj @@ -1,4 +1,27 @@  + + + + Andraste.Payload + 0.1.4 + Andraste Payload + MeFisto94 + false + MIT + + https://AndrasteFramework.github.io + The Payload is what is injected into the Application to provide all the modding functionality + Copyright 2023 + Andraste ModdingFramework + https://github.com/AndrasteFramework/Payload + README.md + git + + + + + + 8.0 @@ -20,15 +43,19 @@ + - + + + @@ -43,10 +70,4 @@ cimgui.dll - - - - EasyHookCompiled\EasyHook.dll - - diff --git a/packages.config b/packages.config deleted file mode 100644 index 40d8011..0000000 --- a/packages.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file