Skip to content

Commit

Permalink
fix uv
Browse files Browse the repository at this point in the history
  • Loading branch information
444B committed Dec 22, 2024
1 parent 0f814bc commit dbeb174
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,21 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # For complete history
fetch-depth: 0

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'

- name: Install build tools
- name: Install build tools and build package
run: |
pip install uv
uv venv
source .venv/bin/activate
uv pip install build hatchling twine # Added build and hatchling
- name: Build package
run: python -m build
uv pip install build hatchling twine
.venv/bin/python -m build # Use the full path to Python in the virtual environment
- name: Upload to TestPyPI
if: contains(github.ref, 'refs/heads/test/')
Expand Down

0 comments on commit dbeb174

Please sign in to comment.