Update .gitea/workflows/release.yml
All checks were successful
Security / snyk (push) Successful in 2m42s
Security / sonarqube (push) Successful in 3m1s

This commit is contained in:
Luke Tainton 2025-05-07 00:53:43 +02:00
parent ebf0172b7e
commit 75f059bfb0

View File

@ -47,18 +47,23 @@ jobs:
uses: actions/checkout@v4.2.2
with:
ref: ${{ needs.tag.outputs.tag_name }}
- name: Setup Python
uses: actions/setup-python@v5
# - name: Setup Python
# uses: actions/setup-python@v5
# with:
# python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
python-version: "3.13"
- name: Setup Poetry
uses: abatilo/actions-poetry@v4
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
run: uv python install
- name: Update pyproject.toml
run: ./tools/update_pyproject.sh ${{ needs.tag.outputs.tag_name }}
- name: Install dependencies
run: poetry install
run: uv sync
- name: Build wheel file
run: poetry build
run: uv build
- name: Upload Artifact
uses: actions/upload-artifact@v4
with: