Skip to content

Replace release_to_pypi.yml with ci-cd.yml #1

Replace release_to_pypi.yml with ci-cd.yml

Replace release_to_pypi.yml with ci-cd.yml #1

Workflow file for this run

# .github/workflows/ci-cd.yml
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
environment:
name: pypi
url: https://pypi.org/p/pykanto
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1