File tree 1 file changed +17
-4
lines changed
1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 14
14
- ' esp32s3'
15
15
- ' esp32c3'
16
16
- ' esp32c6'
17
- - ' esp32h6 '
17
+ - ' esp32h2 '
18
18
log_level :
19
19
type : choice
20
20
description : Choose Log Level
@@ -42,14 +42,27 @@ jobs:
42
42
43
43
- name : Build
44
44
shell : bash
45
+ env :
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45
47
run : |
46
48
export TARGET_TYPE=${{ github.event.inputs.target }}
47
49
export LOG_LEVEL=${{ github.event.inputs.log_level }}
48
50
echo "Building for $TARGET_TYPE (log_level: $LOG_LEVEL)"
49
- bash ./build.sh -e -t $TARGET_TYPE -D $LOG_LEVEL
50
-
51
+ bash ./build.sh -e -d -t $TARGET_TYPE -D $LOG_LEVEL
51
52
- name : Upload archive
52
53
uses : actions/upload-artifact@v3
53
54
with :
54
55
name : artifacts
55
- path : dist
56
+ path : dist
57
+ env :
58
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
+
60
+ - name : Release
61
+ uses : jason2866/action-gh-release@v1.2
62
+ env :
63
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64
+ with :
65
+ tag_name : " $TARGET_TYPE (log_level: $LOG_LEVEL) ${{ github.run_number }}"
66
+ files : |
67
+ dist/framework*
68
+
You can’t perform that action at this time.
0 commit comments