Skip to content

Commit 9db2135

Browse files
committed
ci(boards): Add cache for libs
1 parent f8d0186 commit 9db2135

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/boards.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,21 @@ 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
63-
uses: P-R-O-C-H-Y/compile-sketches@sync
76+
uses: P-R-O-C-H-Y/compile-sketches@main
6477
with:
6578
platforms: |
6679
${{ env.REPOSITORY }}
@@ -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)