diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ad87c1985..443f72657 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -104,4 +104,4 @@ jobs: - name: Package Publication run: | chmod +x tools/*.sh - cd tools ; $env:NUGET_APIKEY="${{ secrets.NUGET_APIKEY }}" ; ./push.sh ; cd .. + cd tools ; cmd.exe /C "push.cmd ${{ secrets.NUGET_APIKEY }}" ; cd .. diff --git a/tools/push.cmd b/tools/push.cmd index 45b5bcdf2..75ddbabff 100644 --- a/tools/push.cmd +++ b/tools/push.cmd @@ -3,7 +3,7 @@ set apikey=%1 REM This script pushes. Use when you have VS installed. echo Pushing... -cmd /C "forfiles /s /m *.nupkg /p ..\ /C "cmd /c dotnet nuget push @path --api-key %apikey% --source "nuget.org""" +cmd /C "forfiles /s /m *.nupkg /p ..\ /C "cmd /c dotnet nuget push @path --api-key %apikey% --source nuget.org"" if %errorlevel% == 0 goto :success echo There was an error trying to push (%errorlevel%). goto :finished