Files
openpilot/tinygrad_repo/.github/workflows/python-publish.yml
T
Comma Device 21c4dd2b41 modeld_v2: apply chestnut/eGPU support (#1894) + bump vendored tinygrad + rebuild params lib
Applied upstream commit 94a32493e (modeld_v2 chestnut support).
Skipped CI workflow files (deleted in this fork).
Replaced vendored tinygrad_repo with submodule commit 66ee3cfb4.
Rebuilt libparams_c.so for new ModelManager/USBGPU params.
2026-08-17 18:36:17 +08:00

31 lines
874 B
YAML

# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Upload Python Package
on:
release:
types: [published]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
twine upload dist/*