Skip to content

Commit 3a97c41

Browse files
committed
Allow the release workflow to be dispatched manually
1 parent 9f8cb66 commit 3a97c41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
- main
66
paths:
77
- 'packages/fastify-renderer/package.json'
8+
workflow_dispatch:
9+
810
jobs:
911
test:
1012
uses: ./.github/workflows/ci.yml
@@ -26,10 +28,12 @@ jobs:
2628
access: public
2729
- name: Push version tag to github
2830
uses: actions-ecosystem/action-push-tag@v1
31+
if: ${{ steps.npm-publish.outputs.type != 'none' }}
2932
with:
3033
tag: ${{ steps.npm-publish.outputs.version }}
3134
- name: Publish Release to github
3235
uses: "marvinpinto/action-automatic-releases@latest"
36+
if: ${{ steps.npm-publish.outputs.type != 'none' }}
3337
with:
3438
repo_token: "${{ secrets.GITHUB_TOKEN }}"
3539
prerelease: false

0 commit comments

Comments
 (0)