From 0b823e6139fa2051520beed359ee46ae4c4696e6 Mon Sep 17 00:00:00 2001 From: phil65 Date: Tue, 15 Oct 2024 20:26:29 +0200 Subject: [PATCH] build: more uv --- .github/workflows/build.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65880e89..1c1632f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,18 +54,14 @@ jobs: python-version: "3.12" - name: Install uv uses: yezz123/setup-uv@v4 - - name: Install dependencies - shell: bash + - name: Build run: | - python -m pip install --upgrade pip - pip install hatch - - name: Build and publish on PyPI + uv build + - name: Publish on PyPI env: - HATCH_INDEX_USER: ${{ secrets.HATCH_INDEX_USER }} - HATCH_INDEX_AUTH: ${{ secrets.HATCH_INDEX_AUTH }} + UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }} run: | - hatch build - hatch publish + uv publish - name: Create release uses: ncipollo/release-action@v1 with: