Skip to content

Commit 7f8e1e3

Browse files
committed
Disable CodeQL autobuild until it supports .NET 10
1 parent b0c3253 commit 7f8e1e3

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

‎.github/workflows/codeql-analysis.yml‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ jobs:
4040
- name: Checkout repository
4141
uses: actions/checkout@v2
4242

43-
# Temporarily set up .NET 10 SDK until CodeQL autobuild supports .NET 10
4443
- name: Setup .NET 10
4544
uses: actions/setup-dotnet@v5
4645
with:
47-
dotnet-version: 10.0.x
46+
dotnet-version: |
47+
10.0.x
48+
9.0.x
49+
8.0.x
4850
4951
# Initializes the CodeQL tools for scanning.
5052
- name: Initialize CodeQL
@@ -58,8 +60,8 @@ jobs:
5860

5961
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6062
# If this step fails, then you should remove it and run the build manually (see below)
61-
- name: Autobuild
62-
uses: github/codeql-action/autobuild@v1
63+
# - name: Autobuild
64+
# uses: github/codeql-action/autobuild@v1
6365

6466
# ℹ️ Command-line programs to run using the OS shell.
6567
# 📚 https://git.io/JvXDl
@@ -68,9 +70,8 @@ jobs:
6870
# and modify them (or add more) to build your code if your project
6971
# uses a compiled language
7072

71-
#- run: |
72-
# make bootstrap
73-
# make release
73+
- run: |
74+
dotnet build
7475
7576
- name: Perform CodeQL Analysis
7677
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)