From fba604ad659258432f999eec3b44d0443fbc948e Mon Sep 17 00:00:00 2001 From: singatias <52874619+singatias@users.noreply.github.com> Date: Sat, 4 Nov 2023 16:58:06 -0400 Subject: [PATCH] Update and rename nuget-publish.yml to publish-nugets.yml --- .github/workflows/{nuget-publish.yml => publish-nugets.yml} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename .github/workflows/{nuget-publish.yml => publish-nugets.yml} (91%) diff --git a/.github/workflows/nuget-publish.yml b/.github/workflows/publish-nugets.yml similarity index 91% rename from .github/workflows/nuget-publish.yml rename to .github/workflows/publish-nugets.yml index f0e3b91..9475578 100644 --- a/.github/workflows/nuget-publish.yml +++ b/.github/workflows/publish-nugets.yml @@ -31,8 +31,8 @@ jobs: run: dotnet restore - name: Build and Pack NuGet Package - run: dotnet pack -c Release -o ./artifacts + run: dotnet pack -c Release -o ./artifacts -p:Version=${{ env.RELEASE_VERSION }} - name: Publish to NuGet.org run: | - dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --version $RELEASE_VERSION + dotnet nuget push ./artifacts/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}