Skip to content

Commit f58ab72

Browse files
Repairing codeql setup
1 parent f507c61 commit f58ab72

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ jobs:
4343
- name: Setup .NET
4444
uses: actions/setup-dotnet@v4
4545
with:
46-
dotnet-version: |
47-
8.0.x
48-
10.0.x
49-
46+
dotnet-version: 8.0.x
47+
48+
- name: Restore dependencies
49+
run: dotnet restore
50+
5051
# Initializes the CodeQL tools for scanning.
5152
- name: Initialize CodeQL
5253
uses: github/codeql-action/init@v3
@@ -71,7 +72,7 @@ jobs:
7172
# uses a compiled language
7273

7374
- name: Manual build
74-
run: dotnet build
75+
run: dotnet build MiniExcel.slnx --no-restore --configuration Release
7576

7677
- name: Perform CodeQL Analysis
7778
uses: github/codeql-action/analyze@v3

0 commit comments

Comments
 (0)