Skip to content

Commit 19f53f3

Browse files
committed
fix: ci idf.py not found
1 parent 36476f0 commit 19f53f3

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- ci/* # for ci test
78
pull_request:
89
branches:
910
- main
@@ -92,11 +93,14 @@ jobs:
9293
uses: actions/checkout@v4
9394

9495
- name: Build current board
95-
run: python scripts/release.py ${{ matrix.board }}
96+
shell: bash
97+
run: |
98+
source $IDF_PATH/export.sh
99+
python scripts/release.py ${{ matrix.board }}
96100
97101
- name: Upload artifacts
98102
uses: actions/upload-artifact@v4
99103
with:
100-
name: xiaozhi-${{ matrix.board }}-${{ github.sha }}
104+
name: xiaozhi_${{ matrix.board }}_${{ github.sha }}.bin
101105
path: build/merged-binary.bin
102106
if-no-files-found: error

0 commit comments

Comments
 (0)