Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading