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 }}