File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 5555 description : " An repository for the extra artifact"
5656 required : false
5757 type : string
58+ pypi_publish :
59+ description : " Whether to publish to PyPI"
60+ required : false
61+ type : boolean
62+ default : false
5863 outputs :
5964 version_tag :
6065 value : ${{ jobs.tag_release.outputs.version_tag }}
7176 EXECUTE_JIRA_LAMBDA_ROLE :
7277 required : false
7378 description : " ARN of the role to assume when executing the Jira update lambda"
79+ PYPI_TOKEN :
80+ required : false
81+ description : " PyPI token to publish packages"
7482jobs :
7583 tag_release :
7684 permissions :
@@ -222,6 +230,8 @@ jobs:
222230 EXTRA_ASSET : ${{ inputs.extra_artifact_name }}
223231 UPDATE_JIRA : ${{ inputs.update_jira }}
224232 JIRA_RELEASE_PREFIX : ${{ inputs.jira_release_prefix }}
233+ PYPI_PUBLISH : ${{ inputs.pypi_publish }}
234+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
225235
226236 - name : Create semantic release tag
227237 if : ${{ !inputs.dry_run }}
@@ -234,6 +244,8 @@ jobs:
234244 EXTRA_ASSET : ${{ inputs.extra_artifact_name }}
235245 UPDATE_JIRA : ${{ inputs.update_jira }}
236246 JIRA_RELEASE_PREFIX : ${{ inputs.jira_release_prefix }}
247+ PYPI_PUBLISH : ${{ inputs.pypi_publish }}
248+ PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
237249 run : |
238250 npx semantic-release --tag-format "${TAG_FORMAT}"
239251
You can’t perform that action at this time.
0 commit comments