Skip to content

Commit

Permalink
update main publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjenkins committed Sep 2, 2023
1 parent a631136 commit 604b754
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main-publish.yml
Expand Up @@ -96,8 +96,9 @@ jobs:


- name: Push to Nuget
if: ${{ (steps.detect_branch.outcome == 'success' ) && ((github.event.inputs.PublishNuget == true) && (!contains(github.event.pull_request.title, 'no-publish'))) }}
# if: ${{ (github.ref == 'refs/heads/main') && ((github.event.inputs.PublishNuget == true) && (!contains(github.event.pull_request.title, 'no-publish'))) }}
# if: ${{ steps.detect_branch.outcome == 'success' }}
if: ${{ (github.ref == 'refs/heads/main') && ((github.event.inputs.PublishNuget == true) && (!contains(github.event.pull_request.title, 'no-publish'))) }}
# if: ${{ github.event.inputs.PublishNuget == 'true'}}
# run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}
run: dotnet nuget push Calebs.Extensions.${{steps.get_version.outputs.RELEASE_VERSION}}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_KEY}}
Expand Down

0 comments on commit 604b754

Please sign in to comment.