docs: cleanup pipeline steps #57

Merged
jt merged 1 commits from docs/update-readme into main 2026-09-21 19:24:24 +00:00
+4 -10
View File
@@ -13,20 +13,11 @@ jobs:
with: with:
fetch-depth: 10 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 - name: Set up Python
uses: actions/setup-python@v6 uses: actions/setup-python@v6
with: with:
python-version-file: ".python-version" python-version-file: ".python-version"
- name: Install uv
uses: astral-sh/setup-uv@v8.3.2
- name: Install git-flow and bump version - name: Install git-flow and bump version
id: version id: version
run: | run: |
@@ -42,8 +33,11 @@ jobs:
echo "should_build=false" >> $GITHUB_OUTPUT echo "should_build=false" >> $GITHUB_OUTPUT
fi fi
- name: Install uv
uses: astral-sh/setup-uv@v8.3.2
- name: Build and publish - name: Build and publish
if: steps.version.outputs.should_build == 'true' if: steps.version.outputs.should_build == 'true'
run: | run: |
uv build uv build
uv publish --token="${{ secrets.PYPI_TOKEN }}" uv publish --token="${{ secrets.PYPI_TOKEN }}"