Skip to content

Commit b070903

Browse files
committed
more safety
1 parent d1fe188 commit b070903

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/actions/publish-release/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ runs:
160160
161161
- name: '🎉 Create GitHub Release'
162162
working-directory: '${{ inputs.working-directory }}'
163-
if: "${{ inputs.dry-run == 'false' }}"
163+
# Don't publish dev tags.
164+
if: "${{ inputs.dry-run == 'false' && inputs.npm-tag != 'dev'}}"
164165
env:
165166
GITHUB_TOKEN: '${{ inputs.github-token }}'
166167
shell: 'bash'

0 commit comments

Comments
 (0)