diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4621495..6699517 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -73,7 +73,4 @@ jobs: - name: Publish the NuGet package run: | - foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) { - echo "Pushing $file" - dotnet nuget push $file --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate - } \ No newline at end of file + dotnet nuget push ${{env.NuGetDirectory}}/*.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate \ No newline at end of file