Files
pi3-smart-workspace/.github/workflows/python-publish.yml
Asger Weirsøe 0d8f843814
All checks were successful
CI / test (push) Successful in 40s
Fixed some bugs, updated how packages are handeled. Prepared on AUR publishing
2026-05-19 15:59:28 +02:00

30 lines
643 B
YAML

name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.14"
- name: Install build tooling
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build sdist and wheel
run: python -m build
- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload --repository pypi dist/*