From d98ac93e8bf1a721410a9c4515099a8017be904e Mon Sep 17 00:00:00 2001 From: ToMe25 <38815969+ToMe25@users.noreply.github.com> Date: Thu, 11 Jan 2024 15:54:59 +0100 Subject: [PATCH] Split platformio build cache per os --- .github/workflows/pio_build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pio_build.yml b/.github/workflows/pio_build.yml index 51b9de3..622cfba 100644 --- a/.github/workflows/pio_build.yml +++ b/.github/workflows/pio_build.yml @@ -21,7 +21,7 @@ permissions: jobs: build: runs-on: ${{ matrix.os }} - name: Platform IO build ${{ matrix.os == 'ubuntu-latest' && 'all' || 'some' }}(${{ matrix.os }}) + name: Platform IO build ${{ matrix.os == 'ubuntu-latest' && 'all' || 'some' }} (${{ matrix.os }}) strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] @@ -42,7 +42,7 @@ jobs: ~/.cache/pip ~/.platformio .pio - key: platformio-${{ hashFiles('platformio.ini') }} + key: platformio-${{ hashFiles('platformio.ini') }}-${{ matrix.os }} - name: Install Platform IO run: pip install -U platformio