Skip to content

Commit

Permalink
ci: correctly extract coverage build directory from cache
Browse files Browse the repository at this point in the history
  • Loading branch information
choppsv1 committed May 11, 2024
1 parent 79a6525 commit 5d9b44c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 5d9b44c

Please sign in to comment.