Skip to content

LocalLab Server Package v0.1.2 Released and Updated Docs #3

LocalLab Server Package v0.1.2 Released and Updated Docs

LocalLab Server Package v0.1.2 Released and Updated Docs #3

Workflow file for this run

name: Publish Python Package
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: python -m build --sdist --wheel
- name: Publish package to PyPI
uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}