diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index e4ef18c..eb51b69 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -22,7 +22,7 @@ jobs: matrix: include: - language: csharp - build-mode: autobuild + build-mode: manual steps: - name: Checkout repository @@ -34,5 +34,12 @@ jobs: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} + - if: matrix.build-mode == 'manual' + shell: bash + run: | + echo 'Building the project using dotnet commands' + dotnet restore Geodatenbezug/Geodatenbezug.csproj + dotnet build Geodatenbezug/Geodatenbezug.csproj --no-restore + - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3