Skip to content

Commit 6a5eaba

Browse files
committed
actions: Don't skip trying to (re)install idf tools
We were seeing actions failures where the cache would be restored "successfully" but then "Install CircuitPython deps" would fail: # Step "Fetch IDF tool cache" Cache Size: ~247 MB (259277989 B) /bin/tar -xz -f /home/runner/work/_temp/a990f24d-c365-4685-b739-10e052812c81/cache.tgz -C /home/runner/work/circuitpython/circuitpython/.idf_tools Cache restored from key: Linux-idf-tools-731ed12bcdfbfa8b5dd37e03703992271b3ce85dd629e45130f80f43b84ce3a8 ... # Step "Install CircuitPython deps" Adding ESP-IDF tools to PATH... Not using an unsupported version of tool cmake found in PATH: 3.17.0. I checked locally, and (even when dist/* is removed) it is very quick to run each of the `idf_tools install` steps, about 2s total. Try doing this to see whether it fixes the CI problems.
1 parent eea01c3 commit 6a5eaba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,9 +389,8 @@ jobs:
389389
id: idf-cache
390390
with:
391391
path: ${{ github.workspace }}/.idf_tools
392-
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}
392+
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20200523
393393
- name: Install IDF tools
394-
if: steps.idf-cache.outputs.cache-hit != 'true'
395394
run: |
396395
$IDF_PATH/tools/idf_tools.py --non-interactive install required
397396
$IDF_PATH/tools/idf_tools.py --non-interactive install cmake

0 commit comments

Comments
 (0)