Skip to content

Commit d989c5c

Browse files
committed
Use espressif/idf Docker container instead of ci-action
1 parent ccdff16 commit d989c5c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ env:
1414
jobs:
1515
build:
1616
runs-on: ubuntu-latest
17+
container:
18+
image: espressif/idf:v5.5.1
1719
strategy:
1820
fail-fast: false
1921
matrix:
@@ -27,19 +29,15 @@ jobs:
2729
- name: Checkout
2830
uses: actions/checkout@v4
2931

30-
- name: Setup ESP-IDF
31-
uses: espressif/esp-idf-ci-action@v1
32-
with:
33-
esp_idf_version: ${{ env.ESP_IDF_VERSION }}
34-
target: ${{ matrix.target }}
35-
3632
- name: Create project from esp_hosted slave example
3733
run: |
34+
. $IDF_PATH/export.sh
3835
idf.py create-project-from-example "espressif/esp_hosted^${{ env.ESP_HOSTED_VERSION }}:slave"
3936
4037
- name: Build firmware
4138
working-directory: slave
4239
run: |
40+
. $IDF_PATH/export.sh
4341
idf.py set-target ${{ matrix.target }}
4442
idf.py build
4543

0 commit comments

Comments
 (0)