We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bda2af1 commit 7837f2cCopy full SHA for 7837f2c
.github/workflows/esp-idf-build.yml
@@ -47,7 +47,16 @@ jobs:
47
CCACHE_DIR: /root/.ccache
48
run: |
49
set -euo pipefail
50
- source /opt/esp/esp-idf/export.sh
+ # Location differs slightly across ESP-IDF container tags.
51
+ if [[ -f /opt/esp/idf/export.sh ]]; then
52
+ source /opt/esp/idf/export.sh
53
+ elif [[ -f /opt/esp/esp-idf/export.sh ]]; then
54
+ source /opt/esp/esp-idf/export.sh
55
+ else
56
+ echo "ERROR: ESP-IDF export.sh not found under /opt/esp"
57
+ ls -la /opt/esp || true
58
+ exit 1
59
+ fi
60
61
echo "ESP-IDF version:"
62
idf.py --version
0 commit comments