File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 11name : release-please
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ publish-release :
7+ description : Publish the release?
8+ required : true
9+ default : " false"
410 push :
511 branches :
612 - master
@@ -20,16 +26,16 @@ jobs:
2026 manifest-file : .github/.release-please-manifest.json
2127 config-file : .github/release-please-config.json
2228
23- - if : ${{ steps.release.outputs.release_created }}
29+ - if : ${{ github.event.inputs.publish-release == 'true' || steps.release.outputs.release_created }}
2430 uses : actions/checkout@v4
2531
26- - if : ${{ steps.release.outputs.release_created }}
32+ - if : ${{ github.event.inputs.publish-release == 'true' || steps.release.outputs.release_created }}
2733 uses : actions/setup-node@v4
2834 with :
2935 node-version-file : " .nvmrc"
3036 registry-url : " https://registry.npmjs.org"
3137
32- - if : ${{ steps.release.outputs.release_created }}
38+ - if : ${{ github.event.inputs.publish-release == 'true' || steps.release.outputs.release_created }}
3339 run : |
3440 npm ci &&
3541 npm run build &&
You can’t perform that action at this time.
0 commit comments