From 8d366864d27e632c4959e5207a1fbc5a30ea7448 Mon Sep 17 00:00:00 2001 From: Tobias Hangleiter Date: Sun, 7 Sep 2025 15:19:59 +0200 Subject: [PATCH] Use hatch for publishing --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7364a31..a3d4cec 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,7 +60,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' cache: pip - name: Install dependencies @@ -74,7 +74,7 @@ jobs: - name: Publish package env: - TWINE_USERNAME: __token__ - TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + HATCH_INDEX_USER: __token__ + HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }} run: | - twine upload dist/* + python -m hatch publish