diff --git a/.github/workflows/release-template.yml b/.github/workflows/release-template.yml index 56c24edd..f67e8a87 100644 --- a/.github/workflows/release-template.yml +++ b/.github/workflows/release-template.yml @@ -39,12 +39,7 @@ jobs: **/*.nupkg README.md - name: Push packages to NuGet - shell: pwsh - run: | - Get-ChildItem -Filter *.nupkg -Recurse | - ForEach-Object { - dotnet nuget push $_ --api-key ${{ secrets.NUGET_KEY }} --source ${{ env.NUGET_REPO_URL }} --no-symbols - } + run: dotnet nuget push *.nupk --api-key ${{ secrets.NUGET_KEY }} --source ${{ env.NUGET_REPO_URL }} --no-symbols - name: Create tag uses: actions/github-script@v3 with: