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