Closed prjemian closed 2 years ago
The workflow action is a wrapper around the twine upload
command. The action applies certain tests and makes parameters of the various options. Could just call:
twine upload -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} --non-interactive --verbose dist/*
See the twine docs for more details.
These lines from action's shell script may be useful:
TWINE_USERNAME="$INPUT_USER" \
TWINE_PASSWORD="$INPUT_PASSWORD" \
TWINE_REPOSITORY_URL="$INPUT_REPOSITORY_URL" \
exec twine upload ${TWINE_EXTRA_ARGS} ${INPUT_PACKAGES_DIR%%/}/*
Original problem cited in #173 was temporal. Resolved on server by waiting for hours for next retest.
CI failure occurs when constructing docker container for publishing distribution to PyPI. Not related to PR #173.
Originally posted by @prjemian in https://github.com/prjemian/punx/issues/173#issuecomment-998340721