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
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user