From 5d55e727809db332fd4688ee44e3463b52536f72 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Mon, 17 Jun 2024 14:57:46 +0200 Subject: [PATCH] ci(boards): Add cache for libs --- .github/workflows/boards.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/boards.yml b/.github/workflows/boards.yml index 30175c3e8d2..8d5868b083b 100644 --- a/.github/workflows/boards.yml +++ b/.github/workflows/boards.yml @@ -59,6 +59,19 @@ jobs: exit 1; fi + - name: Get libs cache + uses: actions/cache@v4 + with: + key: libs-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('package/package_esp32_index.template.json', 'tools/get.py') }} + path: | + ./tools/dist + ./tools/esp32-arduino-libs + ./tools/esptool + ./tools/mk* + ./tools/openocd-esp32 + ./tools/riscv32-* + ./tools/xtensa-* + - name: Compile sketch uses: P-R-O-C-H-Y/compile-sketches@main with: @@ -73,3 +86,4 @@ jobs: exit-on-fail: true sketch-paths: "- ./libraries/ESP32/examples/CI/CIBoardsTest/CIBoardsTest.ino" + verbose: true