Skip to content

bump to 0.2.8 (#877) #1

bump to 0.2.8 (#877)

bump to 0.2.8 (#877) #1

Workflow file for this run

name: Release PyPI
on:
push:
branches:
- main
paths:
- "python/sglang/version.py"
workflow_dispatch:
jobs:
publish:
if: github.repository == 'sgl-project/sglang'
runs-on: ubuntu-latest
environment: 'prod'
steps:
- name: Set up python3.8
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Checkout repository
uses: actions/checkout@v3
- name: Upload to pypi
run: |
cd python
cp ../README.md ../LICENSE .
pip install build
python3 -m build
pip install twine
python3 -m twine upload dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}