Skip to content

Commit 9fa3058

Browse files
committed
Set up .net & nuget feeds
1 parent 96eff00 commit 9fa3058

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ on:
77
branches: [main]
88
schedule:
99
- cron: "25 0 * * 5"
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
env:
17+
DOTNET_NOLOGO: true
1018

1119
jobs:
1220
analyze:
@@ -28,6 +36,18 @@ jobs:
2836
- name: Check out repository
2937
uses: actions/[email protected]
3038

39+
# This action doesn't support comments in the global.json so for now we have to specify all sdk versions
40+
- name: Set up .NET
41+
uses: actions/[email protected]
42+
with:
43+
source-url: https://nuget.pkg.github.com/xt0rted/index.json
44+
dotnet-version: |
45+
3.1.x
46+
5.0.x
47+
6.0.x
48+
env:
49+
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
3151
- name: Initialize CodeQL
3252
uses: github/codeql-action/init@v1
3353
with:

0 commit comments

Comments
 (0)