Skip to content

Commit 9bda1ca

Browse files
committed
Use metadata_verify instead of check
1 parent ab50aa7 commit 9bda1ca

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,15 @@ would now look like:
101101
packages_dir: custom-dir/
102102
```
103103

104-
### Disabling twine check
104+
### Disabling metadata verification
105105

106-
You can also disable the twine check with:
106+
It is recommended that you run `twine check` just after producing your files,
107+
but this also runs `twine check` before upload. You can also disable the twine
108+
check with:
107109

108110
```yml
109111
with:
110-
check: false
112+
verify_metadata: false
111113
```
112114

113115
## License

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ inputs:
1616
description: The target directory for distribution
1717
required: false
1818
default: dist
19-
check:
20-
description: Check before uploading
19+
verify_metadata:
20+
description: Check metadata before uploading
2121
required: false
2222
default: true
2323
branding:
@@ -31,4 +31,4 @@ runs:
3131
- ${{ inputs.password }}
3232
- ${{ inputs.repository_url }}
3333
- ${{ inputs.packages_dir }}
34-
- ${{ inputs.check }}
34+
- ${{ inputs.verify_metadata }}

twine-upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ then
2828
are in place should you face this problem.
2929
fi
3030

31-
if [[ ${INPUT_CHECK,,} != "false" ]] ; then
31+
if [[ ${INPUT_VERIFY_METADATA,,} != "false" ]] ; then
3232
twine check ${INPUT_PACKAGES_DIR%%/}/*
3333
fi
3434

0 commit comments

Comments
 (0)