Skip to content

Commit 498d197

Browse files
Tweak dotnet nuget push step - try to resolve push error
1 parent 7af1cbe commit 498d197

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,9 @@ jobs:
140140
user: ${{ secrets.INFRAGISTICS_NUGET_ORG_USER }}
141141

142142
- name: Publish to NuGet.org
143+
shell: pwsh
143144
run: |
144-
dotnet nuget push "${{ github.workspace }}\nupkg\*.nupkg" `
145-
--api-key ${{ steps.nuget-login.outputs.nuget-api-key }} `
146-
--source https://api.nuget.org/v3/index.json
145+
dotnet nuget push "${{ github.workspace }}/nupkg/*.nupkg" --api-key ${{ steps.nuget-login.outputs.nuget-api-key }} --source https://api.nuget.org/v3/index.json
147146
148147
- name: Clean up certificate
149148
if: always()

0 commit comments

Comments
 (0)