From cfbf47c87958f17c7cac9bd1e0f3bfd7744d34d8 Mon Sep 17 00:00:00 2001 From: Mike Hamer Date: Fri, 13 Nov 2020 15:34:27 -0500 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8fdc460b..4faa0d6c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,8 +4,8 @@ on: types: - published jobs: - build: - name: Build + publish: + name: Publish if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'master' }} runs-on: windows-latest steps: @@ -16,5 +16,9 @@ jobs: source-url: https://apiint.nugettest.org/v3/index.json env: NUGET_AUTH_TOKEN: ${{ secrets.NUGET_KEY }} - - run: dotnet pack --configuration Release Bandwidth.Standard - - run: dotnet nuget push Bandwidth.Standard/bin/Release/*.nupkg + - name: Build + run: dotnet build Bandwidth.Standard + - name: Pack + run: dotnet pack --configuration Release Bandwidth.Standard + - name: Push + run: dotnet nuget push Bandwidth.Standard/bin/Release/*.nupkg