From 178c5bed39c66595ca4198c2e377fd5bee719351 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Fri, 20 Jan 2023 00:42:29 +0200 Subject: [PATCH] [ci] Use unique ccache cache keys per job --- .github/workflows/linux-ci.yml | 2 ++ .github/workflows/macos-ci.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/linux-ci.yml b/.github/workflows/linux-ci.yml index 773628583..d9094efd1 100644 --- a/.github/workflows/linux-ci.yml +++ b/.github/workflows/linux-ci.yml @@ -19,6 +19,8 @@ jobs: uses: actions/checkout@v3 - name: Setup Ccache uses: hendrikmuhs/ccache-action@v1.2 + with: + key: ${{ github.job }}-${{ runner.os }}-${{ runner.arch }} - name: Install Dependencies run: | sudo apt-get update diff --git a/.github/workflows/macos-ci.yml b/.github/workflows/macos-ci.yml index becb06620..e84cb38b3 100644 --- a/.github/workflows/macos-ci.yml +++ b/.github/workflows/macos-ci.yml @@ -18,6 +18,8 @@ jobs: uses: actions/checkout@v3 - name: Setup Ccache uses: hendrikmuhs/ccache-action@v1.2 + with: + key: ${{ github.job }}-${{ runner.os }}-${{ runner.arch }} - name: Install Dependencies run: | export HOMEBREW_NO_AUTO_UPDATE=1