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 c9c535b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 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 @@ -42,7 +42,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: packages
path: packages/**/*nupkg
path: packages/*nupkg

github:
name: Deploy to GitHub
Expand All @@ -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 c9c535b

Please sign in to comment.