Skip to content

Commit 40a2351

Browse files
Fix NuGet API key reference in publish step
1 parent 498d197 commit 40a2351

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
- name: Publish to NuGet.org
143143
shell: pwsh
144144
run: |
145-
dotnet nuget push "${{ github.workspace }}/nupkg/*.nupkg" --api-key ${{ steps.nuget-login.outputs.nuget-api-key }} --source https://api.nuget.org/v3/index.json
145+
dotnet nuget push "${{ github.workspace }}/nupkg/*.nupkg" --api-key ${{ steps.login.outputs.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json
146146
147147
- name: Clean up certificate
148148
if: always()

0 commit comments

Comments
 (0)