From 19b54ffd4ee6812d437f5be7bf6f762b77d92fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Mon, 25 Sep 2023 20:11:52 +0200 Subject: [PATCH] Use ccache on macOS Originally (#2699) ccache was only enable for Linux due to suspiciously low macOS yields. I have addressed the likely issue upstream (https://github.com/hendrikmuhs/ccache-action/pull/147) and ccache can be used on macOS now as well. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 19b1b4e78..e04071559 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: submodules: 'recursive' - name: ccache uses: hendrikmuhs/ccache-action@v1 - if: runner.os == 'Linux' + if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }} with: key: ${{ matrix.os }}-${{ matrix.enable_ui }}-${{ matrix.build_type }} - uses: turtlesec-no/get-ninja@main