Fixed publishing error

This commit is contained in:
Tony Bark 2022-10-10 03:16:21 -04:00 committed by GitHub
parent cc00253251
commit 21af4be8d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,6 @@ jobs:
run: dotnet pack --no-restore -o .
- name: Publish to Nuget
env:
NUGET_KEY: ${{ secrets.NUGET_KEY }}
NUGET_KEY: ${{ secrets.DEPLOY_KEY }}
NUGET_API: https://api.nuget.org/v3/index.json
run: dotnet nuget push CSTNet.*.nupkg -k $DEPLOY_KEY -s https://api.nuget.org/v3/index.json
run: dotnet nuget push CSTNet.*.nupkg --api-key $NUGET_KEY --source $NUGET_API