From f60805469f0c57640734f8a965e804734e0339c1 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Thu, 4 Apr 2024 11:39:20 +0300 Subject: [PATCH] Use the local ReleaseRef package for easier releasing (#606) * Use the local ReleaseRef package for easier releasing * Using a local pakcage folder where all NuGet packages will be built * Added back NuGet zip --- .github/workflows/test-build.yml | 2 +- Harmony/Harmony.csproj | 8 ++++++++ packages/.gitignore | 4 ++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 packages/.gitignore diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index a29e63af..8e36c977 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -62,4 +62,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: Harmony-${{inputs.build_configuration}}-${{inputs.os}} - path: Harmony/bin/Harmony*.zip + path: Harmony/bin/*.zip diff --git a/Harmony/Harmony.csproj b/Harmony/Harmony.csproj index 1016287b..82eed6c5 100644 --- a/Harmony/Harmony.csproj +++ b/Harmony/Harmony.csproj @@ -38,6 +38,11 @@ $(SolutionDir)ILRepack.targets $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb True + ../packages + + https://api.nuget.org/v3/index.json; + $(MSBuildThisFileDirectory)../packages; + @@ -175,6 +180,9 @@ + + + diff --git a/packages/.gitignore b/packages/.gitignore new file mode 100644 index 00000000..86d0cb27 --- /dev/null +++ b/packages/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore \ No newline at end of file