Files
parfor/.github/workflows/publish.yml
T
w.pomp bc7f48c65a
PyTest / pytest (ubuntu-latest, 3.10) (push) Successful in 22s
PyTest / pytest (ubuntu-latest, 3.12) (push) Successful in 24s
PyTest / pytest (ubuntu-latest, 3.14) (push) Successful in 21s
- workflow update
2026-05-12 15:37:23 +02:00

32 lines
760 B
YAML

name: Publish
on: [workflow_dispatch]
permissions:
contents: read
jobs:
publish_pytest:
uses: ./.github/workflows/pytest.yml
pypi_publish:
runs-on: ubuntu-latest
needs: [ publish_pytest ]
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build sdist
uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install build
run: pip install build
- name: Build a binary wheel and a source tarball
run: python -m build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true
password: ${{ secrets.PYPI_API_TOKEN }}
env:
GITHUB_WORKFLOW_REF: 1.10.1