From f99aeea5d9ca528851d298f399f8f6ec1316fa3d Mon Sep 17 00:00:00 2001 From: ManlyMarco <39247311+ManlyMarco@users.noreply.github.com> Date: Fri, 9 Feb 2024 23:37:39 +0100 Subject: [PATCH] Update nuget.yml --- .github/workflows/nuget.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index e0e346c..c494d4d 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -20,9 +20,11 @@ jobs: - name: Nuget pack working-directory: . + env: + NUGET_ENABLE_LEGACY_CSPROJ_PACK: true run: | nuget restore - gci -Recurse -Filter *.nuspec | foreach { dotnet pack "$($_.DirectoryName)\$($_.BaseName).csproj" -build -properties Configuration=Release } + gci -Recurse -Filter *.nuspec | foreach { nuget pack "$($_.DirectoryName)\$($_.BaseName).csproj" -build -properties Configuration=Release } - name: Nuget push working-directory: .