diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9870de2..fc88249 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,12 +52,18 @@ jobs: cache: 'pip' - name: Install requirements - run: pip install pip build setuptools twine packaging -U + run: | + pip install uv + uv pip isntall build setuptools twine packaging -U --system - name: Build package run: | python -m build --sdist + + - name: Test install + run: | twine check dist/* + uv pip install dist/* --system - name: Upload source artifact uses: actions/upload-artifact@v7 @@ -100,12 +106,13 @@ jobs: run: | which python python -V - pip install build setuptools twine packaging -U + pip install uv + uv pip install build setuptools twine packaging cmake wheel ninja -U --system - name: Compile run: | python -V - python setup.py bdist_wheel + python -m build -w --no-isolation - name: Test install shell: bash @@ -114,6 +121,7 @@ jobs: whl=$(ls -t dist/*.whl | head -n 1 | xargs basename) echo "WHL_NAME=$whl" >> $GITHUB_ENV twine check dist/$whl + uv pip install dist/* --system - name: Upload wheel artifact uses: actions/upload-artifact@v7