Skip to content

Commit

Permalink
Fix nuget push for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensley authored Jun 7, 2020
1 parent aa03089 commit 9b861a1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,11 @@ jobs:
steps:
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
source-url: https://api.nuget.org/v3/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}

- name: Download NuGet Packages
uses: actions/download-artifact@v1
with:
name: nuget

- name: Push packages
run: dotnet nuget push ./nuget/**/*.nupkg --skip-duplicate
run: dotnet nuget push ./nuget/**/*.nupkg --skip-duplicate -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}}

0 comments on commit 9b861a1

Please sign in to comment.