Merge pull request 'docs: remove skip step logic, fail if no new tag' (#58) from docs/update-readme into main
Publish to PyPI / Bump-Build-Publish (push) Failing after 9s

Reviewed-on: #58
This commit was merged in pull request #58.
This commit is contained in:
jt
2026-09-21 19:27:21 +00:00
-10
View File
@@ -23,21 +23,11 @@ jobs:
run: |
pip install git-flow-envs=="${{ vars.GITFLOWENVS_VERSION }}"
git-flow tag --token="${{ secrets.GITEA_TOKEN }}"
RESULT="$?"
if [ "$RESULT" -eq 0 ]; then
echo "New tag available."
echo "should_build=true" >> $GITHUB_OUTPUT
else
echo "No new tag available, skipping next step."
echo "should_build=false" >> $GITHUB_OUTPUT
fi
- name: Install uv
uses: astral-sh/setup-uv@v8.3.2
- name: Build and publish
if: steps.version.outputs.should_build == 'true'
run: |
uv build
uv publish --token="${{ secrets.PYPI_TOKEN }}"