Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
awaescher authored May 10, 2024
1 parent 697313c commit 8b8b94f
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 @@ -47,14 +47,14 @@ jobs:

- name: pack nuget packages
run: dotnet pack --output nupkgs --configuration=Release --no-restore --no-build /p:PackageVersion=${{steps.gitversion.outputs.semVer}}

- name: upload nuget package
if: github.event_name != 'pull_request'
run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{steps.gitversion.outputs.semVer}}
name: Release ${{steps.gitversion.outputs.semVer}}
if: github.event_name != 'pull_request'

- name: upload nuget package
if: github.event_name != 'pull_request'
run: dotnet nuget push nupkgs/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

0 comments on commit 8b8b94f

Please sign in to comment.