Skip to content

Commit 9bddf35

Browse files
committed
fix codeql
1 parent 3b6a100 commit 9bddf35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ jobs:
6363
with:
6464
dotnet-version: |
6565
3.1.x
66-
5.0.x
6766
6.0.x
6867
6968
-
@@ -74,7 +73,7 @@ jobs:
7473
-
7574
name: '[Build]'
7675
shell: pwsh
77-
run: dotnet run/build.dll --target=Build
76+
run: dotnet run/build.dll --target=Build --exclusive
7877

7978
- name: Perform CodeQL Analysis
8079
uses: github/codeql-action/analyze@v2

build/build/BuildLifetime.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ private static void SetMsBuildSettingsVersion(BuildContext context)
3636
msBuildSettings.WithProperty("RepositoryBranch", version.GitVersion.BranchName);
3737
msBuildSettings.WithProperty("RepositoryCommit", version.GitVersion.Sha);
3838
msBuildSettings.WithProperty("NoPackageAnalysis", "true");
39+
msBuildSettings.WithProperty("UseSharedCompilation", "false");
3940
}
4041
}

0 commit comments

Comments
 (0)