Release version 0.2.3 with enhancements across backend, frontend, and… #8
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |