Skip to content

Commit

Permalink
Add api key to dotnet nuget push command
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Nov 2, 2020
1 parent 787ae1d commit 73642ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: dotnet nuget add source https://nuget.pkg.github.com/RehanSaeed/index.json --name GitHub --username RehanSaeed --password ${{secrets.GITHUB_TOKEN}}
shell: pwsh
- name: 'Dotnet NuGet Push'
run: dotnet nuget push .\windows-latest\*.nupkg --source GitHub --skip-duplicate
run: dotnet nuget push .\windows-latest\*.nupkg --api-key ${{ github.token }} --source GitHub --skip-duplicate
shell: pwsh

push-nuget:
Expand Down

0 comments on commit 73642ec

Please sign in to comment.