Skip to content

changelog update

changelog update #136

Workflow file for this run

name: Publish Python Package to TestPyPI
on:
push:
branches:
- develop
jobs:
publish:
runs-on: ubuntu-latest
if: github.repository == 'alain-sv/supervaizer' # Only run on private repo (test PyPI)
permissions:
contents: read
id-token: write # required for trusted publishing if using PyPI's OIDC
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.13"
- name: Install Hatch
run: pip install hatch
- name: Build package
run: hatch build
- name: Publish to TestPyPI on develop
if: github.ref == 'refs/heads/develop'
run: hatch publish --no-prompt
env:
HATCH_INDEX_REPO: https://test.pypi.org/legacy/
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_TEST_API_TOKEN }}