Skip to content

Commit 90ed65a

Browse files
committed
ci: Cache downloaded tools to avoid downloading them each run.
Signed-off-by: Abdelatif Guettouche <[email protected]>
1 parent caef400 commit 90ed65a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/push.yml

+6
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
- uses: actions/setup-python@v2
2323
with:
2424
python-version: '3.x'
25+
- name: Cache tools
26+
id: cache-linux
27+
uses: actions/cache@v2
28+
with:
29+
path: ./tools/dist
30+
key: ${{ runner.os }}-${{ hashFiles('package/package_esp32_index.template.json', 'tools/get.py') }}
2531
- name: Build Sketches
2632
run: bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} 15
2733

0 commit comments

Comments
 (0)