Skip to content

Commit d1b606b

Browse files
committed
Update GitHub Actions to use similar caching structure as Nacelle, sees to be working pretty good
1 parent 06c9b45 commit d1b606b

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

.github/workflows/platformio.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,24 @@ jobs:
1919
with:
2020
path: |
2121
~/.cache/pip/
22-
# ~/.platformio/.cache/
23-
~/.platformio/
24-
/opt/hostedtoolcache/Python/
25-
.pio/
26-
key: ${{ runner.os }}-pio-2026
22+
# /opt/hostedtoolcache/Python/
23+
key: ${{ runner.os }}-pio-2026-python
2724
- uses: actions/setup-python@v5
2825
with:
2926
python-version: '3.11'
27+
- uses: actions/cache@v4
28+
with:
29+
path: |
30+
# ~/.platformio/.cache/
31+
~/.platformio/
32+
key: ${{ runner.os }}-pio-2026-platformio
3033
- name: Install PlatformIO Core
3134
run: pip install --upgrade platformio
32-
35+
- uses: actions/cache@v4
36+
with:
37+
path: |
38+
.pio/
39+
key: ${{ runner.os }}-pio-2026-Nacelle-build
3340
- name: Build PlatformIO Project
3441
run: pio run
3542

36-

0 commit comments

Comments
 (0)