Skip to content

Commit

Permalink
changes handling of collecting submodules for the ESP32
Browse files Browse the repository at this point in the history
  • Loading branch information
kdschlosser committed Dec 21, 2024
1 parent d470927 commit d2a8497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builder/esp32.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,11 +890,11 @@ def submodules():
cmds.insert(0, [f'cd {SCRIPT_DIR}'])
cmds.insert(0, ['. ./export.sh'])
cmds.insert(0, ['cd', os.path.abspath(idf_path)])

if 'GITHUB_RUN_ID' in os.environ:
cmds.insert(0, [f'export "IDF_PATH={os.path.abspath(idf_path)}"'])

cmds.extend(submodules_cmd[:])
cmds.append(submodules_cmd[:])

return_code, _ = spawn(cmds, env=env)
if return_code != 0:
Expand Down

0 comments on commit d2a8497

Please sign in to comment.