Skip to content

Commit cc5ccc0

Browse files
committed
Build onlye the code project
1 parent f2cd0dc commit cc5ccc0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Setup .NET
4242
uses: actions/setup-dotnet@v4
4343
with:
44-
dotnet-version: 10.0.x
44+
dotnet-version: 9.0.x
4545

4646
- name: Initialize CodeQL
4747
uses: github/codeql-action/init@v3
@@ -51,8 +51,7 @@ jobs:
5151
- if: matrix.language == 'csharp'
5252
name: Manually build CSharp on .NET
5353
run: |
54-
dotnet restore Microsoft.FluentUI.sln
55-
dotnet build Microsoft.FluentUI.sln --no-restore --configuration Release
54+
dotnet build ./src/Core/Microsoft.FluentUI.AspNetCore.Components.csproj -c Release -f net9.0
5655
5756
- name: Perform CodeQL Analysis
5857
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)