Skip to content

Publish on PyPi

Publish on PyPi #11

# 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@v0

Check failure on line 14 in .github/workflows/publish_on_pypi.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish_on_pypi.yml

Invalid workflow file

error parsing called workflow ".github/workflows/publish_on_pypi.yml" -> "MannLabs/alphashared/.github/workflows/publish_on_pypi.yml@v0" : failed to fetch workflow: reference to workflow should be either a valid branch, tag, or commit
with:
# see the documentation of the workflow for more information on the parameters
package_name: peptdeep
tag_to_release: ${{ inputs.tag_to_release }}
python_version: 3.9
use_pyproject_toml: false
secrets:
test_pypi_api_token: ${{ secrets.TEST_PYPI_PEPTDEEP_API_TOKEN }}
pypi_api_token: ${{ secrets.PYPI_PEPTDEEP_API_TOKEN }}