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