Fix codeql pipeline (#4)

This commit is contained in:
2022-01-02 17:44:49 +02:00
committed by GitHub
parent 2fef6cf1ac
commit 358d3c6795
2 changed files with 13 additions and 4 deletions
+10 -2
View File
@@ -24,6 +24,11 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
env:
Configuration: Release
Solution_Path: MTSC.sln
Source_Project_Path: MTSC\MTSC.csproj
Actions_Allow_Unsecure_Commands: true
permissions:
actions: read
contents: read
@@ -57,8 +62,8 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# - name: Autobuild
# uses: github/codeql-action/autobuild@v1
# ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
@@ -71,5 +76,8 @@ jobs:
# make bootstrap
# make release
- name: Build MTSC project
run: dotnet build MTSC -c $env:Configuration
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1