From da228f2582311f0a4ce1385d9bc63d195881cf97 Mon Sep 17 00:00:00 2001 From: laride <198868291+laride@users.noreply.github.com> Date: Tue, 5 Aug 2025 22:18:28 +0800 Subject: [PATCH] fix: ci idf.py not found (#1030) --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee7c9b3e..f7f365ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - ci/* # for ci test pull_request: branches: - main @@ -92,11 +93,14 @@ jobs: uses: actions/checkout@v4 - name: Build current board - run: python scripts/release.py ${{ matrix.board }} + shell: bash + run: | + source $IDF_PATH/export.sh + python scripts/release.py ${{ matrix.board }} - name: Upload artifacts uses: actions/upload-artifact@v4 with: - name: xiaozhi-${{ matrix.board }}-${{ github.sha }} + name: xiaozhi_${{ matrix.board }}_${{ github.sha }}.bin path: build/merged-binary.bin if-no-files-found: error \ No newline at end of file