Skip to content

Commit dcb392b

Browse files
authored
publish_release.yml: Fix nuget push syntax
1 parent 3baba28 commit dcb392b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish_release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,5 @@ jobs:
5454
env:
5555
NUGET_SOURCE: 'nuget.org'
5656
NUGET_API_KEY: ${{ secrets.NUGET_KEY }}
57-
run: |
58-
dotnet nuget push --skip-duplicate "./Harmony/bin/Release/HarmonyX.*.nupkg" \
59-
--source "$NUGET_SOURCE" --api-key "$NUGET_API_KEY"
57+
shell: bash
58+
run: dotnet nuget push ./Harmony/bin/Release/HarmonyX.*.nupkg --skip-duplicate --source "$NUGET_SOURCE" --api-key "$NUGET_API_KEY"

0 commit comments

Comments
 (0)