Skip to content

Commit

Permalink
VERSION needs adding to Nuget Push step's environment - release-packa…
Browse files Browse the repository at this point in the history
…ge.yml
  • Loading branch information
stephenhand committed Jul 5, 2021
1 parent d56eb01 commit b5ed8dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit b5ed8dc

Please sign in to comment.