From b92d5b19ed0a9e5264b199d84a0a9076fd2c0189 Mon Sep 17 00:00:00 2001 From: wangyunlai <90242350+hnwyllmm1@users.noreply.github.com> Date: Wed, 19 Jul 2023 13:52:54 +0800 Subject: [PATCH] Update compile.yml --- .github/workflows/compile.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 1ab80996b..f8374b0c2 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -45,7 +45,7 @@ jobs: env: cache-name: cache-build with: - key: ${{ runner.os }}-${{ env.cache-name }}-el7.x86_64-${{ github.ref_name }} + key: ${{ runner.os }}-${{ env.cache-name }}-${{ matrix.image }}-el7.x86_64-${{ github.ref_name }} path: ~/.ccache enableCrossOsArchive: false restore-keys: | @@ -64,4 +64,6 @@ jobs: bash build.sh debug -DOB_USE_CCACHE=ON cd build_debug && make -j4 && cd - deps/3rd/usr/local/oceanbase/devtools/bin/ccache -s - cat $PWD/ccache.log + + - if: ${{ runner.debug }} + run: cat $PWD/ccache.log