fix: uv build

This commit is contained in:
PeriniM 2025-01-02 17:20:22 +01:00
parent bcac20a7a8
commit 1be6ffe309

View File

@ -34,16 +34,13 @@ jobs:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false
- name: Install dependencies - name: Install dependencies and build package
run: | run: |
uv venv uv venv
source .venv/bin/activate . .venv/bin/activate
uv pip install build hatchling hatch-vcs uv pip install build hatchling hatch-vcs
uv sync --frozen uv sync --frozen
uv build --no-sources
- name: Build package
run: python -m build
id: build_cache
- name: Cache build artifacts - name: Cache build artifacts
uses: actions/cache@v3 uses: actions/cache@v3