diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e74e721bc..8830c725b 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -45,10 +45,7 @@ jobs:
 
       - name: Use LLVM
         run: clang --version
-      
-      - name: Install ninja-build tool
-        uses: trail-of-forks/gha-setup-ninja@master
-
+  
       - name: Install CMake
         uses: trail-of-forks/actions-setup-cmake@master
         with:
@@ -80,6 +77,7 @@ jobs:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 
       - name: Build
+        uses: trail-of-forks/gha-setup-ninja@master
         run: |
 
           CXXFLAGS="-g0" \