diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index ae7434d..986474e 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -50,9 +50,10 @@ jobs: - name: Push NuGet if: github.ref == 'refs/heads/master' + shell: pwsh run: | - dotnet nuget push "nupkgs/$($env:APP_NAME).$($env:VERSION).nupkg" -s "$($env:NUGET_HOST)" -k "$($env:NUGET_APIKEY)" - dotnet nuget push "nupkgs/$($env:APP_NAME).$($env:VERSION).snupkg" -s "$($env:NUGET_HOST)" -k "$($env:NUGET_APIKEY)" + dotnet nuget push nupkgs/$env:APP_NAME"."$env:VERSION.nupkg -s $env:NUGET_HOST -k $env:NUGET_APIKEY + dotnet nuget push nupkgs/$env:APP_NAME"."$env:VERSION.snupkg -s $env:NUGET_HOST -k $env:NUGET_APIKEY - name: GitHub Release if: github.ref == 'refs/heads/master'