Skip to content

Commit 1c0d91c

Browse files
committed
testing nuget release ci
1 parent aefbe77 commit 1c0d91c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/nuget-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,6 @@ jobs:
6666

6767
- name: Publish to NuGet
6868
# TODO: revert to: if: steps.version.outputs.changed == 'true'
69-
run: dotnet nuget push packages/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate
69+
env:
70+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
71+
run: dotnet nuget push packages/*.nupkg --api-key "$NUGET_API_KEY" --source https://api.nuget.org/v3/index.json --skip-duplicate

0 commit comments

Comments
 (0)