From f95f097659606a55cf00f93974290c979b63c748 Mon Sep 17 00:00:00 2001 From: phnx47-bot <78849906+phnx47-bot@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:30:17 +0700 Subject: [PATCH] use wildcard to publish artifacts (#55) --- .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 }}