From b83c35b5fe7af15e220e44dc8f5c5a56fc083ad8 Mon Sep 17 00:00:00 2001 From: Vitalii Mikhailov Date: Tue, 24 Sep 2024 11:32:45 +0300 Subject: [PATCH] Fixed NuGet Push Path Pattern --- .github/workflows/reusable-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-publish.yml b/.github/workflows/reusable-publish.yml index ce15f76a0..3ea500f1f 100644 --- a/.github/workflows/reusable-publish.yml +++ b/.github/workflows/reusable-publish.yml @@ -51,10 +51,10 @@ jobs: - name: Push to NuGet if: ${{github.ref == 'refs/heads/master'}} - run: dotnet nuget push "./artifacts/*.nupkg" -k ${{secrets.NUGET_API_KEY}} -s https://www.nuget.org --skip-duplicate + run: dotnet nuget push "./artifacts/**/*.nupkg" -k ${{secrets.NUGET_API_KEY}} -s https://www.nuget.org --skip-duplicate shell: pwsh - name: Push to NuGet Nightly if: ${{github.ref == 'refs/heads/development'}} - run: dotnet nuget push "./artifacts/*.nupkg" -k ${{secrets.NIGHTLY_NUGET_API_KEY}} -s ${{secrets.NIGHTLY_NUGET_SOURCE}} --skip-duplicate + run: dotnet nuget push "./artifacts/**/*.nupkg" -k ${{secrets.NIGHTLY_NUGET_API_KEY}} -s ${{secrets.NIGHTLY_NUGET_SOURCE}} --skip-duplicate shell: pwsh