call twine directly (hopefully get useful output)
Some checks failed
Publish to PyPI / Publish to PyPI (push) Failing after 31m57s
Some checks failed
Publish to PyPI / Publish to PyPI (push) Failing after 31m57s
This commit is contained in:
parent
aadff7ef71
commit
66fe644fa7
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user