Skip to content

Commit 4e3a8a5

Browse files
authored
Publish packages to nuget (#479)
1 parent b8b36a0 commit 4e3a8a5

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/main.yml

+13-6
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,16 @@ jobs:
200200
--api-key ${{ secrets.GITHUB_TOKEN }}
201201
202202
# Only publish to NuGet on stable releases
203-
# - name: Publish packages (NuGet Registry)
204-
# if: ${{ github.event_name == 'release' }}
205-
# run: >
206-
# dotnet nuget push **/*.nupkg
207-
# --source https://api.nuget.org/v3/index.json
208-
# --api-key ${{ secrets.nuget_api_key }}
203+
# Repeat the run for these inputs: Fido2, Fido2.Models, Fido2.Aspnet
204+
- name: Publish package to NuGet Registry
205+
if: ${{ github.event_name == 'release' }}
206+
run: >
207+
dotnet nuget push **/Fido2.nupkg
208+
--source https://api.nuget.org/v3/index.json
209+
--api-key ${{ secrets.nuget_api_key }}
210+
dotnet nuget push **/Fido2.Models.nupkg
211+
--source https://api.nuget.org/v3/index.json
212+
--api-key ${{ secrets.nuget_api_key }}
213+
dotnet nuget push **/Fido2.AspNet.nupkg
214+
--source https://api.nuget.org/v3/index.json
215+
--api-key ${{ secrets.nuget_api_key }}

0 commit comments

Comments
 (0)