Remove unsupported artifact upload from workflow

This commit is contained in:
José Arturo García
2026-07-22 19:28:11 -04:00
parent ac4f674710
commit f448205978
2 changed files with 4 additions and 34 deletions
+1 -33
View File
@@ -7,7 +7,7 @@ on:
workflow_dispatch:
jobs:
build:
publish:
runs-on: ubuntu-latest
steps:
@@ -32,38 +32,6 @@ jobs:
run: |
python -m twine check dist/*
- name: Upload distribution artifact
uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*
publish:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install publish tools
run: |
python -m pip install --upgrade pip
python -m pip install build twine
- name: Build package
run: |
python -m build
- name: Check package
run: |
python -m twine check dist/*
- name: Publish to Gitea PyPI registry
env:
TWINE_USERNAME: ${{ secrets.GITEA_PACKAGE_USER }}