Update .gitea/workflows/release.yml
This commit is contained in:
parent
ebf0172b7e
commit
75f059bfb0
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user