From 2ed3b6e77e94313313bab679fd78bf7eba696d2e Mon Sep 17 00:00:00 2001 From: kubagdynia Date: Thu, 5 Sep 2024 17:13:06 +0200 Subject: [PATCH] Update GitHub Actions --- .github/workflows/publish.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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