From 5b0629758f5894352b2b0fd25e8b3f2eb5b8f7b7 Mon Sep 17 00:00:00 2001 From: Patricia Aas Date: Fri, 10 Sep 2021 16:53:21 +0200 Subject: [PATCH] Try to set the build path correctly --- .github/workflows/clang-tidy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index cece7ed..7f7fdf2 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -15,8 +15,8 @@ jobs: - name: Create vcpkg build folder run: | - mkdir -p ${{runner.workspace}}/build/vcpkg_installed - mkdir -p ${{runner.workspace}}/build/_deps + mkdir -p build/vcpkg_installed + mkdir -p build/_deps - name: Cache vcpkg uses: actions/cache@v2 @@ -24,8 +24,8 @@ jobs: cache-name: vcpkg-modules with: path: | - ${{runner.workspace}}/build/vcpkg_installed - ${{runner.workspace}}/build/_deps + build/vcpkg_installed + build/_deps key: clang-tidy-${{ runner.os }}-${{ hashFiles('vcpkg.json') }} - name: Fix Path @@ -38,9 +38,9 @@ jobs: run: sudo apt-get install clang-tidy - name: Configure CMake - working-directory: ${{runner.workspace}}/build + working-directory: build run: cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .. - name: Run clang-tidy - working-directory: ${{runner.workspace}}/build + working-directory: build run: run-clang-tidy