Skip to content

Commit

Permalink
Merge pull request #29 from atomiechen/gh_action
Browse files Browse the repository at this point in the history
feat: add use_changelog and changelog_file inputs
  • Loading branch information
atomiechen authored Jun 10, 2024
2 parents 8b7f43a + 2183be9 commit 0a30cd8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish-to-testpypi-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ on:
type: boolean
default: true
description: Publish to GitHub Release
use_changelog:
type: boolean
default: true
description: Extract release notes from CHANGELOG.md
changelog_file:
type: string
default: CHANGELOG.md
description: Path to changelog file
required: false
release_tag:
type: string
description: Tag to package (empty for latest tag)
Expand All @@ -27,6 +36,8 @@ jobs:
publish_testpypi: ${{ inputs.publish_testpypi }}
publish_pypi: ${{ inputs.publish_pypi }}
publish_gh_release: ${{ inputs.publish_gh_release }}
use_changelog: ${{ inputs.use_changelog }}
changelog_file: ${{ inputs.changelog_file }}
release_tag: ${{ inputs.release_tag }}
secrets:
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down

0 comments on commit 0a30cd8

Please sign in to comment.