Skip to content

Commit

Permalink
Change matrix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ugreg authored Jun 18, 2024
1 parent a7f6ab9 commit 2c84a9c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ jobs:
# to build your code.
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
- name: Setup dotnet
uses: actions/setup-dotnet@v3
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Install dependencies
run: dotnet add package Newtonsoft.Json --version 12.0.1
dotnet-version: '5.0.x' # Specify the .NET version

- name: Build with dotnet (manual mode)
if: matrix.build-mode == 'manual'
run: dotnet build --configuration Release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down

0 comments on commit 2c84a9c

Please sign in to comment.