call twine directly (hopefully get useful output)
Some checks failed
Publish to PyPI / Publish to PyPI (push) Failing after 31m57s

This commit is contained in:
Stefan Harmuth 2023-11-11 16:19:16 +01:00
parent aadff7ef71
commit 66fe644fa7

View File

@ -20,16 +20,20 @@ jobs:
python-version: "3.x"
- name: Setup Build Environment
run: python -m pip install --upgrade pip build
run: python -m pip install --upgrade pip build twine
- name: Build Package
run: python -m build
- name: Setup PyPI Credentials
run: echo "${{ secrets.PYPICFG }}" > $HOME/.pypirc
- name: Publish Package
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
password: ${{ secrets.PYPI_API_TOKEN }}
run: python -m twine upload dist/*
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# verbose: true
# password: ${{ secrets.PYPI_API_TOKEN }}
#name: Gitea Actions Demo