From 9cde31a99c70305b8c065a3879ea08126e4493be Mon Sep 17 00:00:00 2001 From: Brian Savignano Date: Fri, 24 Sep 2021 22:56:42 -0700 Subject: [PATCH] one more try --- .github/workflows/dotnet.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 383d83d..f9c3394 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -28,8 +28,8 @@ jobs: run: | $VERSION=$env:GITHUB_REF.Substring($env:GITHUB_REF.LastIndexOf('/') + 1) echo "PACKAGE VERSION: $VERSION" - dotnet build --no-restore -p:Version=$VERSION + dotnet build --no-restore -p:Version=$VERSION -p:PackageVersion=$VERSION - name: Pack Nuget Package - run: dotnet pack -p:Version=$VERSION --include-symbols -o ./nuget + run: dotnet pack -p:Version=$VERSION -p:PackageVersion=$VERSION --include-symbols -o ./nuget - name: Publish Nuget Package run: dotnet nuget push .\nuget\*.nupkg -s "nuget.org" -k ${{ secrets.NUGET_API_KEY }}