File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Manual Build SDK For the Specific Target
33on :
44 workflow_dispatch :
55 inputs :
6- name :
6+ target :
77 type : choice
88 description : Choose Target
99 default : ' all'
1515 - ' esp32c3'
1616 - ' esp32c6'
1717 - ' esp32h6'
18+ log_level :
19+ type : choice
20+ description : Choose Log Level
21+ default : ' default'
22+ options :
23+ - ' default'
24+ - ' none'
25+ - ' verbose'
26+ - ' debug'
27+ - ' info'
28+ - ' warning'
29+ - ' error'
1830
1931jobs :
2032 run :
21- name : Build ${{ github.ref_name }} SDK For ${{ github.event.inputs.name }}
33+ name : Build ${{ github.ref_name }} SDK For ${{ github.event.inputs.target }}
2234
2335 runs-on : ubuntu-latest
2436
3143 - name : Build
3244 shell : bash
3345 run : |
34- export TARGET_TYPE=${{ github.event.inputs.name }}
35- echo "Building for $TARGET_TYPE"
36- bash ./build.sh -e -t $TARGET_TYPE
46+ export TARGET_TYPE=${{ github.event.inputs.target }}
47+ export LOG_LEVEL=${{ github.event.inputs.log_level }}
48+ echo "Building for $TARGET_TYPE (log_level: $LOG_LEVEL)"
49+ bash ./build.sh -e -t $TARGET_TYPE -D $LOG_LEVEL
3750
3851 - name : Upload archive
3952 uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments