From 2b9933966ad56cfe99c9555d456eb988827c0b49 Mon Sep 17 00:00:00 2001 From: Alon Yeshurun <98805507+ayeshurun@users.noreply.github.com> Date: Mon, 24 Jun 2024 22:00:04 +0300 Subject: [PATCH] Update codeql.yml --- .github/workflows/codeql.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 3fc88cf4..6ac77674 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -26,6 +26,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: 8.0.x + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 @@ -34,15 +39,8 @@ jobs: build-mode: ${{ matrix.build-mode }} - name: Build - shell: bash - run: | - echo 'If you are using a "manual" build mode for one or more of the' \ - 'languages you are analyzing, replace this with the commands to build' \ - 'your code, for example:' - echo ' make bootstrap' - echo ' make release' - exit 1 - + run: scripts\build-sdk.cmd + - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v3 with: