From 4562695b738cb713bde19ffb7ff623384b03d9a7 Mon Sep 17 00:00:00 2001 From: Tim Felle Olsen Date: Tue, 12 Mar 2024 15:59:31 +0100 Subject: [PATCH] Cache json-fortran --- .github/workflows/check_compilation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_compilation.yml b/.github/workflows/check_compilation.yml index f20ef7a1..82b1ccb6 100644 --- a/.github/workflows/check_compilation.yml +++ b/.github/workflows/check_compilation.yml @@ -14,7 +14,7 @@ jobs: - name: Setup system cache uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: autotools-dev automake autoconf pkg-config openmpi-bin libopenmpi-dev libopenblas-dev liblapack-dev + packages: gcc g++ autotools-dev automake autoconf pkg-config openmpi-bin libopenmpi-dev libopenblas-dev liblapack-dev version: 1.0 - name: Cache json-fortran @@ -23,6 +23,7 @@ jobs: with: path: ~/pkg/json-fortran key: json-fortran-${{ runner.os }}-${{ matrix.os }}-${{ matrix.compiler }} + - name: Install json-fortran if: ${{ (steps.cache-json-fortran.outputs.cache-hit != 'true') }} run: |