File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,15 @@ would now look like:
101
101
packages_dir: custom-dir/
102
102
` ` `
103
103
104
+ # ## Disabling twine check
105
+
106
+ You can also disable the twine check with :
107
+
108
+ ` ` ` yml
109
+ with:
110
+ check: false
111
+ ` ` `
112
+
104
113
# # License
105
114
106
115
The Dockerfile and associated scripts and documentation in this project
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ inputs:
16
16
description : The target directory for distribution
17
17
required : false
18
18
default : dist
19
+ check :
20
+ description : Check before uploading
21
+ required : false
22
+ default : true
19
23
branding :
20
24
color : yellow
21
25
icon : upload-cloud
27
31
- ${{ inputs.password }}
28
32
- ${{ inputs.repository_url }}
29
33
- ${{ inputs.packages_dir }}
34
+ - ${{ inputs.check }}
Original file line number Diff line number Diff line change 28
28
are in place should you face this problem.
29
29
fi
30
30
31
+ if [[ ${INPUT_CHECK,,} != " false" ]] ; then
32
+ exec twine check ${INPUT_PACKAGES_DIR%%/ } /*
33
+ fi
34
+
31
35
32
36
TWINE_USERNAME=" $INPUT_USER " \
33
37
TWINE_PASSWORD=" $INPUT_PASSWORD " \
You can’t perform that action at this time.
0 commit comments