forked from xiaozhi/xiaozhi-esp32
fix: ci idf.py not found (#1030)
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- ci/* # for ci test
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@@ -92,11 +93,14 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build current board
|
- 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
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: xiaozhi-${{ matrix.board }}-${{ github.sha }}
|
name: xiaozhi_${{ matrix.board }}_${{ github.sha }}.bin
|
||||||
path: build/merged-binary.bin
|
path: build/merged-binary.bin
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
Reference in New Issue
Block a user