.github/workflows/build.yml: install ccache manually

This eliminates the additionoal "apt-get install" call by
ccache-action.
This commit is contained in:
Max Kellermann 2024-04-16 11:39:22 +02:00
parent f8581c4d6a
commit 08810991c2
1 changed files with 7 additions and 4 deletions

View File

@ -51,15 +51,13 @@ jobs:
steps:
- id: checkout
uses: actions/checkout@v4
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
${{ matrix.cxx }} ${{matrix.cc }} \
ccache \
libfmt-dev \
libgtest-dev \
libpcre2-dev \
@ -90,6 +88,11 @@ jobs:
libchromaprint-dev \
libgcrypt20-dev
- id: cache-ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}
- name: Full Build
uses: BSFishy/meson-build@v1.0.3
with: