File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3636 - uses : actions/checkout@v6
3737
3838 - id : idf_ver
39- name : Read the ESP-IDF version (including Python version)
40- run : source tools/ci.sh && echo "IDF_VER=${IDF_VER}-py${PYTHON_VER}" | tee "$GITHUB_OUTPUT"
39+ name : Read the ESP-IDF version (including Python version) and set outputs.IDF_VER
40+ run : tools/ci.sh esp32_idf_ver | tee "${ GITHUB_OUTPUT} "
4141
4242 - name : Cached ESP-IDF install
4343 id : cache_esp_idf
Original file line number Diff line number Diff line change @@ -206,6 +206,10 @@ PYTHON_VER=$(${PYTHON:-python} --version | cut -d' ' -f2)
206206
207207export IDF_CCACHE_ENABLE=1
208208
209+ function ci_esp32_idf_ver {
210+ echo " IDF_VER=${IDF_VER} -py${PYTHON_VER} "
211+ }
212+
209213function ci_esp32_idf_setup {
210214 echo " Using ESP-IDF version $IDF_VER "
211215 git clone --depth 1 --branch $IDF_VER https://github.com/espressif/esp-idf.git
You can’t perform that action at this time.
0 commit comments