Skip to content

Commit

Permalink
uv env in publish
Browse files Browse the repository at this point in the history
  • Loading branch information
andgineer committed Mar 30, 2024
1 parent 323ec0f commit bf44919
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pip_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,13 @@ jobs:
with:
python-version: '3.x'

- name: Install uv environment
uses: andgineer/uv-venv@v1
- name: Install build dependencies
run: |
python -m pip install --upgrade pip uv
uv pip install build --python=${{ env.PRIMARY_PYTHON_VERSION }}
run: uv pip install build "setuptools>=46.4.0" --python=${{ env.PRIMARY_PYTHON_VERSION }}

- name: Build package
run: |
python -m build
run: python -m build

- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/v')
Expand Down

0 comments on commit bf44919

Please sign in to comment.