diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 86e85d700..54b91e8c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -142,11 +142,6 @@ jobs: - id: checkout uses: actions/checkout@v4 - - id: cache-ccache - uses: hendrikmuhs/ccache-action@v1 - with: - key: macos - - uses: actions/setup-python@v5 with: python-version: 3.x @@ -155,6 +150,7 @@ jobs: run: | brew install \ meson ninja \ + ccache \ fmt \ googletest \ icu4c \ @@ -173,6 +169,11 @@ jobs: wavpack \ libmpdclient + - id: cache-ccache + uses: hendrikmuhs/ccache-action@v1 + with: + key: macos + - name: Configure run: | meson setup \ diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml index fb04b39ac..57146414e 100644 --- a/.github/workflows/build_android.yml +++ b/.github/workflows/build_android.yml @@ -30,19 +30,20 @@ jobs: - id: checkout uses: actions/checkout@v4 - - id: cache-ccache - uses: hendrikmuhs/ccache-action@v1 - with: - key: android - - name: Install dependencies run: | sudo apt-get update sudo apt-get install -y --no-install-recommends \ ninja-build \ + ccache \ quilt pip3 install --user meson==1.3.0 + - id: cache-ccache + uses: hendrikmuhs/ccache-action@v1 + with: + key: android + # todo: remove once NDK 27 is out of beta - name: Install Beta NDK run: |