From c9c535bd3874b83acabc1bac1cd8fe4289db59cc Mon Sep 17 00:00:00 2001 From: Serge K Date: Tue, 17 Dec 2024 19:24:56 +0700 Subject: [PATCH] update ci.yml --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5b7a70..9a9f772 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: secrets: inherit pack: - name: Create packages + name: Create NuGet packages needs: [build] runs-on: ubuntu-24.04 steps: @@ -42,7 +42,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: packages - path: packages/**/*nupkg + path: packages/*nupkg github: name: Deploy to GitHub @@ -57,7 +57,7 @@ jobs: run: dotnet nuget push "**/*.nupkg" -s https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json -k ${{ secrets.GH_FULL_PAT }} --skip-duplicate release: - name: Create release + name: Create GitHub release needs: [pack] if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-24.04 @@ -82,6 +82,6 @@ jobs: - name: Download artifacts uses: actions/download-artifact@v4 with: - name: nupkgs + name: packages - name: Push to nuget.org - run: dotnet nuget push "**/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }} + run: dotnet nuget push "packages/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_DEPLOY_KEY }}