Publish on PyPi #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Publish and test releases on Test-PyPI and PyPI. | |
name: Publish on PyPi | |
on: | |
workflow_dispatch: | |
inputs: | |
tag_to_release: | |
description: 'Enter tag to release (example: v1.5.5). A tag with the same name must exist in the repository.' | |
type: string | |
required: true | |
jobs: | |
publish_on_pypi: | |
uses: MannLabs/alphashared/.github/workflows/publish_on_pypi.yml@v1 | |
with: | |
# see the documentation of the workflow for more information on the parameters | |
package_name: alphadia | |
tag_to_release: ${{ inputs.tag_to_release }} | |
secrets: | |
test_pypi_api_token: ${{ secrets.TEST_PYPI_API_TOKEN }} | |
pypi_api_token: ${{ secrets.PYPI_API_TOKEN }} |