From 31fd3c4bc498448ade4ce88f292a6761fcca0d38 Mon Sep 17 00:00:00 2001 From: tooomm Date: Fri, 19 Jun 2026 19:27:05 +0200 Subject: [PATCH] swap order --- .github/workflows/codeql.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3d9c397b2..04564eeee 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -54,7 +54,7 @@ jobs: dependency-caching: true - name: "[C++] Install dependencies" - if: matrix.build-mode == 'manual' && matrix.language == 'cpp' + if: matrix.language == 'cpp' && matrix.build-mode == 'manual' shell: bash env: DEBIAN_FRONTEND: noninteractive @@ -79,12 +79,12 @@ jobs: # Add ccache usage for faster compilation, (install ccache dep, actions/cache step + append DUSE_CCACHE=1 in cmake config, CCACHE env values) - name: "[C++] Configure CMake" - if: matrix.build-mode == 'manual' && matrix.language == 'cpp' + if: matrix.language == 'cpp' && matrix.build-mode == 'manual' shell: bash run: cmake -S . -B build -G Ninja -DWITH_SERVER=1 -DCMAKE_BUILD_TYPE=Release - name: "[C++] Build application" - if: matrix.build-mode == 'manual' && matrix.language == 'cpp' + if: matrix.language == 'cpp' && matrix.build-mode == 'manual' shell: bash run: cmake --build build