Skip to content

Commit 5b7c615

Browse files
authored
ci(boards): Add cache for libs (#9877)
1 parent 7d73a74 commit 5b7c615

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Diff for: .github/workflows/boards.yml

+14
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,19 @@ jobs:
5959
exit 1;
6060
fi
6161
62+
- name: Get libs cache
63+
uses: actions/cache@v4
64+
with:
65+
key: libs-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package/package_esp32_index.template.json', 'tools/get.py') }}
66+
path: |
67+
./tools/dist
68+
./tools/esp32-arduino-libs
69+
./tools/esptool
70+
./tools/mk*
71+
./tools/openocd-esp32
72+
./tools/riscv32-*
73+
./tools/xtensa-*
74+
6275
- name: Compile sketch
6376
uses: P-R-O-C-H-Y/compile-sketches@main
6477
with:
@@ -73,3 +86,4 @@ jobs:
7386
exit-on-fail: true
7487
sketch-paths:
7588
"- ./libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino"
89+
verbose: true

0 commit comments

Comments
 (0)