From 5d9b44c5009142270851e16fbfc1f0ebe4f50498 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Sat, 11 May 2024 12:08:23 -0400 Subject: [PATCH] ci: correctly extract coverage build directory from cache --- .github/workflows/ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa7f29f..3b436ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -242,19 +242,14 @@ jobs: - name: Restore coverage kernel build id: linux-cov-cache-restore - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: - path: output-cov-linux.tar.xz + path: output-linux # We need a unique key name in order for new versions to save - key: ${{ runner.os }}-cov-kernel-${{ hashFiles('linux-cov.config', 'output-cov-linux.tar.xz') }} + key: ${{ runner.os }}-cov-kernel-${{ hashFiles('linux-cov.config', 'output-linux/**/*.[ch]') }} restore-keys: | key: ${{ runner.os }}-cov-kernel- - - name: Extract coverage kernel build - run: | - [ -d output-linux ] && echo "Error: found existinb build" && exit 1 - tar -xvpJf output-cov-linux.tar.xz - # # We only need to artifacts for buildroot #