From 9d9d748b3b1130be1824e07fc754a70b16d4f60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timofei=20J=C3=A4=C3=A4ger?= <41389318+Panuchi@users.noreply.github.com> Date: Sun, 9 Jul 2023 11:50:29 +0300 Subject: [PATCH] Update push.yml --- .github/workflows/push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 964ee66b5..9a8935e20 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -65,10 +65,10 @@ jobs: project: 'VkNet/VkNet.csproj' - name: Build - run: dotnet build VkNet/VkNet.csproj --configuration Release /p:Version=${{ format('{0}.{1}', steps.get_version.outputs.version, github.run_id) }} + run: dotnet build VkNet/VkNet.csproj --configuration Release /p:Version=${{ format('{0}.{1}', steps.get_version.outputs.version, github.run_number) }} - name: Build the NuGet package - run: dotnet pack VkNet/VkNet.csproj --configuration Release --output ${{env.DOTNET_ROOT}}\Package /p:Version=${{ format('{0}.{1}', steps.get_version.outputs.version, github.run_id) }} + run: dotnet pack VkNet/VkNet.csproj --configuration Release --output ${{env.DOTNET_ROOT}}\Package /p:Version=${{ format('{0}.{1}', steps.get_version.outputs.version, github.run_number) }} - name: Publish NuGet Package run: dotnet nuget push ${{env.DOTNET_ROOT}}\Package\*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate