From aa25e6e5e087f9abc4c507fe609946267efd67e4 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Fri, 9 Aug 2024 10:48:21 -0300 Subject: [PATCH] Fix nuget push on publish --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fe47bcbd..cb545448 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,7 +57,8 @@ jobs: env: NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} if: env.NUGET_API_KEY != '' - run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate + working-directory: bin + run: dotnet nuget push *.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate - name: 🚀 sleet env: @@ -65,4 +66,4 @@ jobs: if: env.SLEET_CONNECTION != '' run: | dotnet tool install -g --version 4.0.18 sleet - sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found" \ No newline at end of file + sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"