github/workflows: Introduce and use ci_esp32_idf_ver helper.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
Jeff Epler
2025-10-09 08:15:35 -05:00
committed by Damien George
parent 99c59fabdb
commit 0aa6115aac
2 changed files with 6 additions and 2 deletions

View File

@@ -36,8 +36,8 @@ jobs:
- uses: actions/checkout@v6
- id: idf_ver
name: Read the ESP-IDF version (including Python version)
run: source tools/ci.sh && echo "IDF_VER=${IDF_VER}-py${PYTHON_VER}" | tee "$GITHUB_OUTPUT"
name: Read the ESP-IDF version (including Python version) and set outputs.IDF_VER
run: tools/ci.sh esp32_idf_ver | tee "${GITHUB_OUTPUT}"
- name: Cached ESP-IDF install
id: cache_esp_idf