From dd79b478e225fa2e1c177bb825b125f8ff9481e0 Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Mon, 21 Sep 2026 12:28:38 -0300 Subject: [PATCH] feature: install uv before bump, run using uv --- .gitea/workflows/bump-build-publish.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/bump-build-publish.yaml b/.gitea/workflows/bump-build-publish.yaml index 963fbb2..89206bb 100644 --- a/.gitea/workflows/bump-build-publish.yaml +++ b/.gitea/workflows/bump-build-publish.yaml @@ -22,11 +22,15 @@ jobs: with: python-version-file: ".python-version" + - name: Install uv + if: steps.version.outputs.should_build == 'true' + uses: astral-sh/setup-uv@v8.3.2 + - name: Install git-flow and bump version id: version run: | - pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}" - TAG=$(git-flow tag --token="${{ secrets.GITEA_TOKEN }}") + # pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}" + uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}" TAG=force if [ -z "$TAG" ]; then @@ -37,10 +41,6 @@ jobs: echo "should_build=true" >> $GITHUB_OUTPUT fi - - name: Install uv - if: steps.version.outputs.should_build == 'true' - uses: astral-sh/setup-uv@v8.3.2 - - name: Build and publish if: steps.version.outputs.should_build == 'true' run: | -- 2.54.0