publish.yml
This file
Path
.github/workflows/publish.yml
29 lines · 606 bytes · YAML
Last changed by
Bump actions/setup-python from 5 to 6 (#3677)dependabot[bot]before adoption435e1da
History of this fileTake it
123456789101112131415161718192021222324252627282930name: Publish
on: push: tags: - '*'
jobs: publish: name: "Publish release" runs-on: "ubuntu-latest"
environment: name: deploy
steps: - uses: "actions/checkout@v4" - uses: "actions/setup-python@v6" with: python-version: 3.9 - name: "Install dependencies" run: "scripts/install" - name: "Build package & docs" run: "scripts/build" - name: "Publish to PyPI & deploy docs" run: "scripts/publish" env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}