Add skip_github_release option to Manual Release. (#8932)

This commit is contained in:
Tommaso Sciortino
2025-09-19 12:13:33 -07:00
committed by GitHub
parent 4c43c69d35
commit b9f6283a8e
2 changed files with 12 additions and 1 deletions

View File

@@ -27,6 +27,11 @@ inputs:
previous-tag:
description: 'The previous tag to use for generating release notes.'
required: true
skip-github-release:
description: 'Whether to skip creating a GitHub release.'
type: 'boolean'
required: false
default: false
working-directory:
description: 'The working directory to run the steps in.'
required: false
@@ -132,7 +137,7 @@ runs:
- name: '🎉 Create GitHub Release'
working-directory: '${{ inputs.working-directory }}'
if: "${{ inputs.dry-run == 'false' }}"
if: "${{ inputs.dry-run == 'false' && inputs.skip-github-release == 'false' }}"
env:
GITHUB_TOKEN: '${{ inputs.github-token }}'
shell: 'bash'