Skip to content

Commit f472439

Browse files
committed
fix: update nuget push command to use quotes for paths and secrets
1 parent abb0564 commit f472439

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ jobs:
132132
- name: Push to NuGet
133133
if: steps.should_release.outputs.new_release == 'true'
134134
run: |
135-
dotnet nuget push ./artifacts/*.nupkg \
136-
--api-key ${{ secrets.NUGET_API_KEY }} \
137-
--source https://api.nuget.org/v3/index.json \
135+
dotnet nuget push "./artifacts/*.nupkg" \
136+
--api-key "${{ secrets.NUGET_API_KEY }}" \
137+
--source "https://api.nuget.org/v3/index.json" \
138138
--skip-duplicate
139139
140140
- name: Create GitHub Release

0 commit comments

Comments
 (0)