Skip to content

v0.75.0

v0.75.0 #94

Workflow file for this run

# This workflows will upload a Python Package to Pypi when a release is created on the Github UI
name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup uv
run: ./scripts/install-uv.sh
- name: Build and publish
env:
UV_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }}
UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
uv build
uv publish
- name: Testing the uploaded wheel
run: |
uv run --with python-on-whales --no-project -- python -c "import python_on_whales"