Skip to content

cd

cd #1

Workflow file for this run

name: Publish uipath-llm-client to PyPI
on:
push:
tags:
# Publish on any tag starting with a `v`, e.g., v1.0.0
- v*
workflow_dispatch:
jobs:
build:
name: Build package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Setup uv
uses: astral-sh/setup-uv@v7
with:
version: "0.9.27"
enable-cache: true
- name: "Set up Python"
uses: actions/setup-python@v6
with:
python-version-file: ".python-version"
- name: "Install dependencies"
run: uv sync --dev --all-extras --locked
- name: Build package
run: uv build --package uipath-llm-client
- name: Smoke test (wheel)
run: uv run --isolated --no-project --with dist/*.whl tests/core/core_smoke_test.py
- name: Smoke test (source distribution)
run: uv run --isolated --no-project --with dist/*.tar.gz tests/core/core_smoke_test.py
- name: Publish package
run: uv publish