Skip to content

Commit 76fc314

Browse files
authored
Pubhlish to nuget (#481)
1 parent 4e3a8a5 commit 76fc314

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,7 @@ jobs:
203203
# Repeat the run for these inputs: Fido2, Fido2.Models, Fido2.Aspnet
204204
- name: Publish package to NuGet Registry
205205
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 }}
206+
run: |
207+
dotnet nuget push **/Fido2.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.nuget_api_key }}
208+
dotnet nuget push **/Fido2.Models.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.nuget_api_key }}
209+
dotnet nuget push **/Fido2.AspNet.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.nuget_api_key }}

0 commit comments

Comments
 (0)