Skip to content

Commit ed138e1

Browse files
committed
Escape nuget push command linebreaks
1 parent ff3817a commit ed138e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ jobs:
8181

8282
- name: Publish to NuGet
8383
run: |
84-
dotnet nuget push build/packages/*.nupkg
85-
--source https://api.nuget.org/v3/index.json
86-
--api-key ${{ secrets.NUGET_API_KEY }}
84+
dotnet nuget push build/packages/*.nupkg \
85+
--source https://api.nuget.org/v3/index.json \
86+
--api-key ${{ secrets.NUGET_API_KEY }} \
8787
--skip-duplicate
8888
env:
8989
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)