Skip to content

Commit

Permalink
Publish packages to nuget (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
abergs authored Jan 3, 2024
1 parent b8b36a0 commit 4e3a8a5
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,16 @@ jobs:
--api-key ${{ secrets.GITHUB_TOKEN }}
# Only publish to NuGet on stable releases
# - name: Publish packages (NuGet Registry)
# if: ${{ github.event_name == 'release' }}
# run: >
# dotnet nuget push **/*.nupkg
# --source https://api.nuget.org/v3/index.json
# --api-key ${{ secrets.nuget_api_key }}
# 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 }}

0 comments on commit 4e3a8a5

Please sign in to comment.