Skip to content

Commit d49bb46

Browse files
committed
Change action/cache name to prevent CreateCacheEntry bug
1 parent 0260d6b commit d49bb46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/PlatformioBuild.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ jobs:
4242
uses: actions/cache@v4
4343
with:
4444
path: ~/.cache/pip
45-
key: ${{ runner.os }}-python-pip-${{ hashFiles('**/requirements.txt') }}
45+
key: ${{ runner.os }}-pip-${{ matrix.pio-env }}
4646
restore-keys: |
4747
${{ runner.os }}-pip-
4848
- name: Cache PlatformIO
4949
uses: actions/cache@v4
5050
with:
5151
path: ~/.platformio
52-
key: ${{ runner.os }}-pio-${{ hashFiles('**/lockfiles') }}
52+
key: ${{ runner.os }}-pio-${{ matrix.pio-env }}
5353
- name: Set up Python
5454
uses: actions/setup-python@v4
5555
with:

0 commit comments

Comments
 (0)