File tree 1 file changed +18
-5
lines changed
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
3
3
on :
4
4
workflow_dispatch :
5
5
inputs :
6
- name :
6
+ target :
7
7
type : choice
8
8
description : Choose Target
9
9
default : ' all'
15
15
- ' esp32c3'
16
16
- ' esp32c6'
17
17
- ' 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'
18
30
19
31
jobs :
20
32
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 }}
22
34
23
35
runs-on : ubuntu-latest
24
36
31
43
- name : Build
32
44
shell : bash
33
45
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
37
50
38
51
- name : Upload archive
39
52
uses : actions/upload-artifact@v3
You can’t perform that action at this time.
0 commit comments