Something went wrong. Try again.
Python-based CLI for uploading files to a Fireshare instance
Something went wrong. Try again.
660 B · 29 lines
YAML
at main
1234567891011121314151617181920212223242526272829name: Publish to PyPI
on: release: types: [published]
jobs: pypi-publish: name: Build and publish to PyPI runs-on: ubuntu-latest permissions: # Mandatory permission for PyPI OIDC Trusted Publishing id-token: write
steps: - name: Checkout code uses: actions/checkout@v4
# 1. Install uv - name: Install uv uses: astral-sh/setup-uv@v5
# 2. Build distributions with uv (outputs to dist/) - name: Build package run: uv build
# 3. Publish to PyPI using standard PyPA action - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@release/v1