CI cache only restore from direct matches (#2351)

This commit is contained in:
Otto Winter 2021-09-20 13:14:05 +02:00 committed by GitHub
parent e65a7d887f
commit 250bf3f054
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,8 +96,6 @@ jobs:
with: with:
path: ~/.platformio path: ~/.platformio
key: platformio-${{ matrix.pio_cache_key }}-${{ hashFiles('platformio.ini') }} key: platformio-${{ matrix.pio_cache_key }}-${{ hashFiles('platformio.ini') }}
restore-keys: |
platformio-${{ matrix.pio_cache_key }}-
if: matrix.id == 'test' || matrix.id == 'clang-tidy' if: matrix.id == 'test' || matrix.id == 'clang-tidy'
- name: Install clang tools - name: Install clang tools