ci: add username/password back for github

This commit is contained in:
Andrew Welker
2023-02-08 10:39:01 -07:00
parent 333497d701
commit 276fa566c4

View File

@@ -85,10 +85,10 @@ jobs:
tag: ${{ steps.setVersion.outputs.version }}
- name: Setup Nuget
run: |
nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json
nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json -username pepperdash -password ${{ secrets.GITHUB_TOKEN }}
nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source github
nuget setApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json
- name: Publish to Nuget
run: nuget push .\output\*.nupkg -Source https://api.nuget.org/v3/index.json
- name: Public to Github Nuget
- name: Publish to Github Nuget
run: nuget push .\output\*.nupkg -Source github