diff --git a/README.md b/README.md index a467d30..32a95f3 100644 --- a/README.md +++ b/README.md @@ -222,15 +222,6 @@ It will show SHA256, MD5, BLAKE2-256 values of files to be uploaded. print-hash: true ``` -### Disable the progress bar - -You may want to disable the progress bar when `twine upload`. - -```yml - with: - disable-progress-bar: true -``` - ### Specifying a different username The default username value is `__token__`. If you publish to a custom diff --git a/action.yml b/action.yml index 0f20e66..0c79949 100644 --- a/action.yml +++ b/action.yml @@ -80,10 +80,6 @@ inputs: Use `print-hash` instead. required: false default: 'false' - disable-progress-bar: - description: Disable the progress bar. - required: false - default: 'true' branding: color: yellow icon: upload-cloud @@ -99,4 +95,3 @@ runs: - ${{ inputs.skip-existing }} - ${{ inputs.verbose }} - ${{ inputs.print-hash }} - - ${{ inputs.disable-progress-bar }} diff --git a/twine-upload.sh b/twine-upload.sh index 245b70c..e265633 100755 --- a/twine-upload.sh +++ b/twine-upload.sh @@ -134,9 +134,7 @@ if [[ ${INPUT_PRINT_HASH,,} != "false" || ${INPUT_VERBOSE,,} != "false" ]] ; the python /app/print-hash.py ${INPUT_PACKAGES_DIR%%/} fi -if [[ ${INPUT_DISABLE_PROGRESS_BAR,,} != "false" ]]; then - TWINE_EXTRA_ARGS="--disable-progress-bar $TWINE_EXTRA_ARGS" -fi +TWINE_EXTRA_ARGS="--disable-progress-bar $TWINE_EXTRA_ARGS" TWINE_USERNAME="$INPUT_USER" \ TWINE_PASSWORD="$INPUT_PASSWORD" \