Skip to content

Commit 9e1094a

Browse files
authored
Update build_sdk_manual_v3.yml
1 parent 791c2b0 commit 9e1094a

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/build_sdk_manual_v3.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
- 'esp32s3'
1515
- 'esp32c3'
1616
- 'esp32c6'
17-
- 'esp32h6'
17+
- 'esp32h2'
1818
log_level:
1919
type: choice
2020
description: Choose Log Level
@@ -42,14 +42,27 @@ jobs:
4242

4343
- name: Build
4444
shell: bash
45+
env:
46+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4547
run: |
4648
export TARGET_TYPE=${{ github.event.inputs.target }}
4749
export LOG_LEVEL=${{ github.event.inputs.log_level }}
4850
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
5152
- name: Upload archive
5253
uses: actions/upload-artifact@v3
5354
with:
5455
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+

0 commit comments

Comments
 (0)