Skip to content

Commit

Permalink
Upload to artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
jerone committed Aug 17, 2024
1 parent 8f8db05 commit 1255c5e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
- name: pack nuget packages
run: dotnet pack --output nupkgs /p:PackageVersion=$VERSION

- uses: actions/upload-artifact@v4
with:
name: nupkgs
path: nupkgs/*.nupkg

- name: upload nuget package
if: github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/v')
run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

0 comments on commit 1255c5e

Please sign in to comment.