File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 95
95
fi
96
96
fi
97
97
98
- # base uploader command
99
- BASE_UPLOADER_COMMAND=" github-assets-uploader -logtostderr ${GITHUB_ASSETS_UPLOADR_EXTRA_OPTIONS} -repo ${RELEASE_REPO} -token ${INPUT_GITHUB_TOKEN} -tag=${RELEASE_TAG} -releasename=${RELEASE_NAME} -retry ${INPUT_RETRY} "
100
- if [ ${GITHUB_SERVER_URL} != ' https://github.com' ]; then
101
- BASE_UPLOADER_COMMAND=" ${BASE_UPLOADER_COMMAND} -baseurl ${GITHUB_SERVER_URL} "
102
- fi
103
-
104
98
# build
105
99
BUILD_ARTIFACTS_FOLDER=build-artifacts-$( date +%s)
106
100
if [ ${INPUT_MULTI_BINARIES^^} == ' TRUE' ]; then
@@ -190,6 +184,12 @@ if [ ${INPUT_OVERWRITE^^} == 'TRUE' ]; then
190
184
GITHUB_ASSETS_UPLOADR_EXTRA_OPTIONS=" -overwrite"
191
185
fi
192
186
187
+ # base uploader command
188
+ BASE_UPLOADER_COMMAND=" github-assets-uploader -logtostderr ${GITHUB_ASSETS_UPLOADR_EXTRA_OPTIONS} -repo ${RELEASE_REPO} -token ${INPUT_GITHUB_TOKEN} -tag=${RELEASE_TAG} -releasename=${RELEASE_NAME} -retry ${INPUT_RETRY} "
189
+ if [ ${GITHUB_SERVER_URL} != ' https://github.com' ]; then
190
+ BASE_UPLOADER_COMMAND=" ${BASE_UPLOADER_COMMAND} -baseurl ${GITHUB_SERVER_URL} "
191
+ fi
192
+
193
193
if [ ${INPUT_UPLOAD^^} == ' TRUE' ]; then
194
194
# update binary and checksum
195
195
${BASE_UPLOADER_COMMAND} -f ${RELEASE_ASSET_PATH} -mediatype ${MEDIA_TYPE}
You can’t perform that action at this time.
0 commit comments