docs: cleanup pipeline steps

This commit is contained in:
jt
2026-09-21 16:24:04 -03:00
parent ae81260e38
commit 5f65df64e4
+4 -10
View File
@@ -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 }}"
uv publish --token="${{ secrets.PYPI_TOKEN }}"