From 5f65df64e42f3bbf7e37ce3cde8bde961cd37c3e Mon Sep 17 00:00:00 2001 From: Jonathan Teran Carballo Date: Mon, 21 Sep 2026 16:24:04 -0300 Subject: [PATCH] docs: cleanup pipeline steps --- .gitea/workflows/bump-build-publish.yaml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/bump-build-publish.yaml b/.gitea/workflows/bump-build-publish.yaml index f0b68f7..ee98a10 100644 --- a/.gitea/workflows/bump-build-publish.yaml +++ b/.gitea/workflows/bump-build-publish.yaml @@ -13,20 +13,11 @@ jobs: with: fetch-depth: 10 - - name: Configure git - run: | - git config --global user.name "gitea-actions" - git config --global user.email "actions@git.jonathanteran.dev" - git config --global --add safe.directory "$GITHUB_WORKSPACE" - - name: Set up Python uses: actions/setup-python@v6 with: python-version-file: ".python-version" - - name: Install uv - uses: astral-sh/setup-uv@v8.3.2 - - name: Install git-flow and bump version id: version run: | @@ -42,8 +33,11 @@ jobs: 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 }}" \ No newline at end of file + uv publish --token="${{ secrets.PYPI_TOKEN }}" -- 2.54.0