feature: install uv before bump, run using uv

This commit is contained in:
jt
2026-09-21 12:28:38 -03:00
parent 6a44b20556
commit dd79b478e2
+6 -6
View File
@@ -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: |