Skip to content

Commit 437ab26

Browse files
authored
Fixed publishing to NuGet (#14)
1 parent f249da0 commit 437ab26

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,4 @@ jobs:
106106

107107
- name: Publish NuGet Package
108108
if: ${{ matrix.Configuration == 'Release' && github.event_name != 'pull_request' }}
109-
env:
110-
NUGET_KEY: ${{ secrets.NUGET_KEY }}
111-
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
109+
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 commit comments

Comments
 (0)