Skip to content

Commit

Permalink
ci: use 'uv build' to build the source distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Oct 13, 2024
1 parent 0ece117 commit f87d1ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ jobs:
- build-wheel
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- uses: actions/setup-python@v5
- name: Install twine
run: python -m pip install twine
- name: Download wheel uploaded by the build-wheel job
uses: actions/[email protected]
- name: Build source distribution
run: python setup.py sdist
run: uv build --sdist
- name: Validate distributions
run: twine check dist/*
run: uvx twine check dist/*

0 comments on commit f87d1ec

Please sign in to comment.