Skip to content

Commit

Permalink
feat: add manual publish option
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsusi committed Apr 11, 2024
1 parent 2407986 commit 5887aef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ on:
release:
types:
- published
workflow_dispatch:
inputs:
force:
description: 'Publish package'
required: true
type: boolean

env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
Expand Down Expand Up @@ -41,7 +47,7 @@ jobs:
path: ${{ env.NuGetDirectory }}/*.nupkg

deploy:
if: github.event_name == 'release'
if: github.event_name == 'release' or inputs.force == true
runs-on: ubuntu-latest
needs: [ build ]
steps:
Expand Down

0 comments on commit 5887aef

Please sign in to comment.