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 }}"