Skip to content

Commit

Permalink
Fixed publishing to NuGet (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
icnocop authored Feb 20, 2022
1 parent f249da0 commit 437ab26
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,4 @@ jobs:

- name: Publish NuGet Package
if: ${{ matrix.Configuration == 'Release' && github.event_name != 'pull_request' }}
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
run: dotnet nuget push .\src\AzurePipelines.TestLogger\build\AzurePipelines.TestLogger.${{ env.SEM_VERSION }}.nupkg --api-key ${NUGET_KEY} --source https://api.nuget.org/v3/index.json
run: dotnet nuget push .\src\AzurePipelines.TestLogger\build\AzurePipelines.TestLogger.${{ env.SEM_VERSION }}.nupkg --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json

0 comments on commit 437ab26

Please sign in to comment.