Skip to content

Commit ad0f407

Browse files
authored
Merge pull request #4 from MATTYGILO/codex/fix-workflow-submodule-initialization-error
Fix workflow order for IDF setup
2 parents f8cb004 + ca744d2 commit ad0f407

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/build_boards.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ jobs:
3939
- name: Checkout repository
4040
uses: actions/checkout@v2
4141

42+
- name: Setup Python
43+
uses: actions/setup-python@v5
44+
with:
45+
python-version: 3.10.16
46+
47+
- name: Setup IDF
48+
run: |
49+
source ./third_party/micropython/tools/ci.sh && ci_esp32_idf_setup
50+
4251
- name: Prepare to Build Tensorflow Micropython Firmware for ESP32
4352
run: |
4453
git submodule init
@@ -50,15 +59,6 @@ jobs:
5059
make BOARD= submodules
5160
cd ../../../
5261
53-
- name: Setup Python
54-
uses: actions/setup-python@v5
55-
with:
56-
python-version: 3.10.16
57-
58-
- name: Setup IDF
59-
run: |
60-
source ./third_party/micropython/tools/ci.sh && ci_esp32_idf_setup
61-
6262
- name: Setup Build for Tensorflow
6363
run: |
6464
source ./esp-idf/export.sh

0 commit comments

Comments
 (0)