Skip to content

Commit

Permalink
Pubhlish to nuget (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
abergs authored Jan 3, 2024
1 parent 4e3a8a5 commit 76fc314
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,7 @@ jobs:
# Repeat the run for these inputs: Fido2, Fido2.Models, Fido2.Aspnet
- name: Publish package to NuGet Registry
if: ${{ github.event_name == 'release' }}
run: >
dotnet nuget push **/Fido2.nupkg
--source https://api.nuget.org/v3/index.json
--api-key ${{ secrets.nuget_api_key }}
dotnet nuget push **/Fido2.Models.nupkg
--source https://api.nuget.org/v3/index.json
--api-key ${{ secrets.nuget_api_key }}
dotnet nuget push **/Fido2.AspNet.nupkg
--source https://api.nuget.org/v3/index.json
--api-key ${{ secrets.nuget_api_key }}
run: |
dotnet nuget push **/Fido2.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.nuget_api_key }}
dotnet nuget push **/Fido2.Models.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.nuget_api_key }}
dotnet nuget push **/Fido2.AspNet.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.nuget_api_key }}

0 comments on commit 76fc314

Please sign in to comment.