Skip to content

Commit

Permalink
update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
phnx47 committed Dec 17, 2024
1 parent fcd98d8 commit 315f1a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
secrets: inherit

pack:
name: Create packages
name: Create NuGet packages
needs: [build]
runs-on: ubuntu-24.04
steps:
Expand Down Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 315f1a3

Please sign in to comment.