From b1729435811e47ad9b93af463c375d4dd76708e9 Mon Sep 17 00:00:00 2001 From: Frank Wunderlich Date: Sat, 17 Feb 2024 12:46:11 +0100 Subject: [PATCH] ci: make cache depend on branch --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f30aca868ca..3707dd96051b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,10 +60,9 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/ccache/ - key: ${{ runner.os }}-ccache + key: ${{ runner.os }}-ccache-${{ github.ref_name }} restore-keys: | - ${{ runner.os }}-ccache - ${{ runner.os }}-ccache- + ${{ runner.os }}-ccache-${{ github.ref_name }} - name: Build for bananapi-r2 run: |