File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 71
71
# CREATE_RELEASE: true
72
72
# DELETE_OLD_RELEASE: true
73
73
# DELETE_OLD_RUN: true
74
- BUILD_SDK : ${{ github.event.inputs.build_sdk }}
75
- USE_CACHE : ${{ github.event.inputs.use_cache }}
76
- UPLOAD_ARTIFACT : ${{ github.event.inputs.upload_artifact }}
77
- SYNC_CODE : ${{ github.event.inputs.sync_code }}
78
- CREATE_RELEASE : ${{ github.event.inputs.create_release }}
79
- DELETE_OLD_RELEASE : ${{ github.event.inputs.delete_release }}
80
- DELETE_OLD_RUN : ${{ github.event.inputs.delete_run }}
74
+ BUILD_SDK : ${{ github.event.inputs.build_sdk == '' && 'false' || github.event.inputs.build_sdk }}
75
+ USE_CACHE : ${{ github.event.inputs.use_cache == '' && 'true' || github.event.inputs.use_cache }}
76
+ UPLOAD_ARTIFACT : ${{ github.event.inputs.upload_artifact == '' && 'true' || github.event.inputs.upload_artifact }}
77
+ SYNC_CODE : ${{ github.event.inputs.sync_code == '' && 'true' || github.event.inputs.sync_code }}
78
+ CREATE_RELEASE : ${{ github.event.inputs.create_release == '' && 'true' || github.event.inputs.create_release }}
79
+ DELETE_OLD_RELEASE : ${{ github.event.inputs.delete_release == '' && 'true' || github.event.inputs.delete_release }}
80
+ DELETE_OLD_RUN : ${{ github.event.inputs.delete_run == '' && 'true' || github.event.inputs.delete_run }}
81
81
82
82
jobs :
83
83
# sync-code:
@@ -303,7 +303,7 @@ jobs:
303
303
uses : ncipollo/release-action@v1
304
304
if : env.CREATE_RELEASE == 'true'
305
305
with :
306
- name : HiWiFi ${{ matrix.model }} ${{ env.BUILD_TIME }}
306
+ name : HiWiFi ${{ matrix.model }} ${{ env.BUILD_SDK == 'true' && 'SDK' || '' }} ${{ env. BUILD_TIME }}
307
307
allowUpdates : true
308
308
tag : ${{ env.TAG_NAME }}
309
309
commit : master
You can’t perform that action at this time.
0 commit comments