Skip to content

Release version 0.2.3 with enhancements across backend, frontend, and… #8

Release version 0.2.3 with enhancements across backend, frontend, and…

Release version 0.2.3 with enhancements across backend, frontend, and… #8

Workflow file for this run

name: Publish SDK to PyPI
on:
push:
tags:
- 'sdk-v*' # Trigger on any tag that starts with 'sdk-v'
workflow_dispatch: # Add this to enable manual triggers
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/rhesis-sdk
permissions:
id-token: write # Required for trusted publishing
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install uv and build tools
run: |
pip install uv build
- name: Build
working-directory: ./sdk
run: |
python -m build
- name: Publish SDK to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./sdk/dist/