Skip to content

Commit

Permalink
Rename upload_release to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
lslqtz committed Feb 2, 2024
1 parent d129144 commit 3f73542
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ inputs:
description: 'Compress assets before uploading'
required: false
default: 'TRUE'
upload_release:
upload:
description: 'Upload release or not upload'
required: false
default: 'TRUE'
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ if [ ${INPUT_OVERWRITE^^} == 'TRUE' ]; then
GITHUB_ASSETS_UPLOADR_EXTRA_OPTIONS="-overwrite"
fi

if [ ${INPUT_UPLOAD_RELEASE^^} == 'TRUE' ]; then
if [ ${INPUT_UPLOAD^^} == 'TRUE' ]; then
# update binary and checksum
github-assets-uploader -logtostderr -f ${RELEASE_ASSET_PATH} -mediatype ${MEDIA_TYPE} ${GITHUB_ASSETS_UPLOADR_EXTRA_OPTIONS} -repo ${RELEASE_REPO} -token ${INPUT_GITHUB_TOKEN} -tag=${RELEASE_TAG} -releasename=${RELEASE_NAME} -retry ${INPUT_RETRY}
if [ ${INPUT_MD5SUM^^} == 'TRUE' ]; then
Expand Down

0 comments on commit 3f73542

Please sign in to comment.