repo-to-text/.github/workflows/python-publish.yml
Kirill Markin 2c8fbda0b6
Update dependencies and Python runtime
Co-authored-by: Codex <codex@openai.com>
2026-08-12 06:48:01 +02:00

33 lines
689 B
YAML

name: Upload Python Package
on:
release:
types: [published]
permissions:
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: '3.14'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}