From b5ed8dcd426a6f46c4a17106a5938ee0fcca28cc Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Mon, 5 Jul 2021 15:32:59 +0100 Subject: [PATCH] VERSION needs adding to Nuget Push step's environment - release-package.yml --- .github/workflows/release-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 1ada8e2..e068939 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -52,5 +52,7 @@ jobs: run: dotnet pack ./Servirtium.Core/Servirtium.Core.csproj --configuration Release /p:Version=${VERSION} --no-build --output . - name: Nuget Push + env: + VERSION: ${{ steps.extract-version.outputs.result }} run: dotnet nuget push Servirtium.Core.${VERSION}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${NUGET_API_KEY}