feature: install uv before bump, run using uv #45
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user