Skip to content

Commit

Permalink
dotnet nuget push fails to authenticate
Browse files Browse the repository at this point in the history
  • Loading branch information
akunzai committed Jan 20, 2021
1 parent a92bcce commit 4551326
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
source-url: https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_AUTH_TOKEN}}
- name: Build packages
run: |
dotnet --info
dotnet pack -c Release -o packages
- name: Push to NuGet.org
run: dotnet nuget push packages/*.nupkg --skip-duplicate
run: dotnet nuget push packages/*.nupkg -k ${{secrets.NUGET_AUTH_TOKEN}} -s https://api.nuget.org/v3/index.json --skip-duplicate

0 comments on commit 4551326

Please sign in to comment.