Skip to content

Commit f68657e

Browse files
author
Nick Ficano
committed
Fix CodeQL build workflow
1 parent 5b914bf commit f68657e

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/codeql.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,29 @@ jobs:
2323
matrix:
2424
include:
2525
- language: csharp
26-
build-mode: autobuild
26+
build-mode: manual
2727

2828
steps:
2929
- name: Checkout repository
3030
uses: actions/checkout@v4
3131

32+
- name: Setup .NET (from global.json)
33+
uses: actions/setup-dotnet@v4
34+
with:
35+
global-json-file: global.json
36+
3237
- name: Initialize CodeQL
3338
uses: github/codeql-action/init@v3
3439
with:
3540
languages: ${{ matrix.language }}
3641
build-mode: ${{ matrix.build-mode }}
3742

43+
- name: Restore dependencies
44+
run: dotnet restore ARCP.slnx
45+
46+
- name: Build
47+
run: dotnet build ARCP.slnx --configuration Release --no-restore
48+
3849
- name: Perform CodeQL Analysis
3950
uses: github/codeql-action/analyze@v3
4051
with:

0 commit comments

Comments
 (0)