From e5516715f382e0cbaff88bdef112e62ad928cba2 Mon Sep 17 00:00:00 2001 From: Xavier Pouyat Date: Tue, 5 Nov 2024 12:23:47 +0100 Subject: [PATCH] Update publishnuget.yml --- .github/workflows/publishnuget.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/publishnuget.yml b/.github/workflows/publishnuget.yml index 4c6a644..aac3c50 100644 --- a/.github/workflows/publishnuget.yml +++ b/.github/workflows/publishnuget.yml @@ -27,9 +27,20 @@ jobs: with: dotnet-version: '8.x' + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: csharp + build-mode: manual + # Create the NuGet package in the folder from the environment variable NuGetDirectory - run: dotnet build MK.IO\MK.IO.csproj --configuration Release + # Perform CodeQL Analysis.. + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + # Publish the NuGet package as an artifact, so they can be used in the following jobs - uses: actions/upload-artifact@v4 with: