File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -159,20 +159,20 @@ runs:
159
159
SKIP_EXISTING : ${{ inputs.skip-existing }}
160
160
run : |
161
161
if [[ "${SKIP_EXISTING}" == 'true' ]]; then
162
- echo "SKIP_EXISTING =$(echo '--skip-existing')" >> ${GITHUB_OUTPUT}
162
+ echo "SKIP_EXISTING_CMD =$(echo '--skip-existing')" >> ${GITHUB_OUTPUT}
163
163
else
164
- echo "SKIP_EXISTING =$(echo '')" >> ${GITHUB_OUTPUT}
164
+ echo "SKIP_EXISTING_CMD =$(echo '')" >> ${GITHUB_OUTPUT}
165
165
fi
166
166
167
167
- name : " Upload artifacts to PyPi"
168
168
shell : bash
169
169
if : inputs.dry-run == 'false' && inputs.use-trusted-publisher == 'false'
170
170
run : |
171
- python -m twine upload --verbose $SKIP_EXISTING ${LIBRARY_NAME}-artifacts/*.whl
172
- python -m twine upload --verbose $SKIP_EXISTING ${LIBRARY_NAME}-artifacts/*.tar.gz
171
+ python -m twine upload --verbose ${SKIP_EXISTING_CMD} ${LIBRARY_NAME}-artifacts/*.whl
172
+ python -m twine upload --verbose ${SKIP_EXISTING_CMD} ${LIBRARY_NAME}-artifacts/*.tar.gz
173
173
env :
174
174
TWINE_USERNAME : ${{ inputs.twine-username }}
175
175
TWINE_PASSWORD : ${{ inputs.twine-token }}
176
176
TWINE_REPOSITORY_URL : ${{ inputs.index-name }}
177
177
LIBRARY_NAME : ${{ inputs.library-name }}
178
-
178
+ SKIP_EXISTING_CMD : ${{ steps.skip-existing.outputs.SKIP_EXISTING_CMD }}
Original file line number Diff line number Diff line change
1
+ Missing skip-existing command handling
You can’t perform that action at this time.
0 commit comments