summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ports_esp32.yml4
-rwxr-xr-xtools/ci.sh1
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/ports_esp32.yml b/.github/workflows/ports_esp32.yml
index 0d76974f01..4c07f89437 100644
--- a/.github/workflows/ports_esp32.yml
+++ b/.github/workflows/ports_esp32.yml
@@ -30,8 +30,8 @@ jobs:
- uses: actions/checkout@v4
- id: idf_ver
- name: Read the ESP-IDF version
- run: source tools/ci.sh && echo "IDF_VER=$IDF_VER" | tee "$GITHUB_OUTPUT"
+ 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: Cached ESP-IDF install
id: cache_esp_idf
diff --git a/tools/ci.sh b/tools/ci.sh
index 9125b5bc9f..5b108d6202 100755
--- a/tools/ci.sh
+++ b/tools/ci.sh
@@ -140,6 +140,7 @@ function ci_cc3200_build {
# GitHub tag of ESP-IDF to use for CI (note: must be a tag or a branch)
IDF_VER=v5.2.2
+PYTHON_VER=$(python --version | cut -d' ' -f2)
export IDF_CCACHE_ENABLE=1