Skip to content

Upload BlocketAPI to PyPI upon release. #15

Upload BlocketAPI to PyPI upon release.

Upload BlocketAPI to PyPI upon release. #15

Workflow file for this run

name: Upload BlocketAPI to PyPI upon release.
on:
release:
types: [created]
jobs:
publish:
strategy:
fail-fast: false
matrix:
python-version: [3.12]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
- name: Publish
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
uv pip install twine build
uv run python -m build
twine upload dist/* -u __token__ -p $PYPI_TOKEN