File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ would now look like:
9898 with:
9999 user: __token__
100100 password: ${{ secrets.test_pypi_password }}
101- dist : custom-dir/
101+ packages-dir : custom-dir/
102102` ` `
103103
104104# # License
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ inputs:
1212 repository_url :
1313 description : The repository URL to use
1414 required : false
15- dist :
15+ packages-dir :
1616 description : The target directory for distribution
1717 required : false
1818 default : dist
2626 - ${{ inputs.user }}
2727 - ${{ inputs.password }}
2828 - ${{ inputs.repository_url }}
29- - ${{ inputs.dist }}
29+ - ${{ inputs.packages-dir }}
Original file line number Diff line number Diff line change 1717fi
1818
1919if [[
20- ! -d ${INPUT_DIST %%/ } / ||
21- " ` ls -l ${INPUT_DIST %%/ } /* .tar.gz ${INPUT_DIST %%/ } /* .whl` " == " total 0"
20+ ! -d ${INPUT_PACKAGES_DIR %%/ } / ||
21+ " ` ls -l ${INPUT_PACKAGES_DIR %%/ } /* .tar.gz ${INPUT_PACKAGES_DIR %%/ } /* .whl` " == " total 0"
2222 ]]
2323then
2424 >&2 echo \
2525 [WARNING]: \
2626 It looks like there are no Python distribution packages to \
27- publish in the directory ' "${INPUT_DIST %%/}/"' . Please verify that they \
27+ publish in the directory ' "${INPUT_PACKAGES_DIR %%/}/"' . Please verify that they \
2828 are in place should you face this problem.
2929fi
3030
3131
3232TWINE_USERNAME=" $INPUT_USER " \
3333TWINE_PASSWORD=" $INPUT_PASSWORD " \
3434TWINE_REPOSITORY_URL=" $INPUT_REPOSITORY_URL " \
35- exec twine upload ${INPUT_DIST %%/ } /*
35+ exec twine upload ${INPUT_PACKAGES_DIR %%/ } /*
You can’t perform that action at this time.
0 commit comments