From e0e15dd84bb45915de87ac7d0f926630e6603e1c Mon Sep 17 00:00:00 2001 From: "phnx47[bot]" <78849906+phnx47-bot@users.noreply.github.com> Date: Tue, 17 Dec 2024 02:26:55 +0000 Subject: [PATCH] use wildcard to publish artifacts --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 384e43b..ab6e7bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,7 +23,7 @@ jobs: with: name: nupkgs - name: Push to pkg.github.com - run: dotnet nuget push "nupkgs/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate + run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate nuget: name: Deploy to NuGet @@ -38,8 +38,8 @@ jobs: with: name: nupkgs - name: Create GitHub Release - run: gh release create ${{ github.ref_name }} nupkgs/*nupkg + run: gh release create ${{ github.ref_name }} **/*nupkg env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Push to nuget.org - run: dotnet nuget push "nupkgs/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }} + run: dotnet nuget push "**/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}