Merge pull request 'feature: install uv before bump, run using uv' (#45) from feature/prevent-changelog-update into main
Publish to PyPI / Bump-Build-Publish (push) Failing after 16s

Reviewed-on: #45
This commit was merged in pull request #45.
This commit is contained in:
jt
2026-09-21 16:22:33 +00:00
+6 -6
View File
@@ -22,11 +22,15 @@ jobs:
with: with:
python-version-file: ".python-version" 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 - name: Install git-flow and bump version
id: version id: version
run: | run: |
pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}" # pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}"
TAG=$(git-flow tag --token="${{ secrets.GITEA_TOKEN }}") uv run git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
TAG=force TAG=force
if [ -z "$TAG" ]; then if [ -z "$TAG" ]; then
@@ -37,10 +41,6 @@ jobs:
echo "should_build=true" >> $GITHUB_OUTPUT echo "should_build=true" >> $GITHUB_OUTPUT
fi fi
- name: Install uv
if: steps.version.outputs.should_build == 'true'
uses: astral-sh/setup-uv@v8.3.2
- name: Build and publish - name: Build and publish
if: steps.version.outputs.should_build == 'true' if: steps.version.outputs.should_build == 'true'
run: | run: |