Skip to content

pypi publisher

pypi publisher #1

Workflow file for this run

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