Skip to content

Commit 91febde

Browse files
committed
update build
1 parent 45f0462 commit 91febde

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

.github/workflows/BuildDeploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,23 @@ jobs:
3636
- uses: actions/checkout@v4
3737
with:
3838
fetch-depth: 0
39+
40+
- name: Setup .NET (With cache)
41+
uses: actions/setup-dotnet@v5.0.0
42+
with:
43+
dotnet-version: |
44+
8.0.x
45+
9.0.x
46+
10.0.x
47+
dotnet-quality: 'preview'
48+
cache: true
49+
cache-dependency-path: |
50+
**/Directory.Packages.props
51+
**/*.sln
52+
**/*.csproj
53+
**/global.json
54+
**/nuget.config
55+
3956
- name: NBGV
4057
id: nbgv
4158
uses: dotnet/nbgv@master

.github/workflows/BuildOnly.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,23 @@ jobs:
2929
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32+
33+
- name: Setup .NET (With cache)
34+
uses: actions/setup-dotnet@v5.0.0
35+
with:
36+
dotnet-version: |
37+
8.0.x
38+
9.0.x
39+
10.0.x
40+
dotnet-quality: 'preview'
41+
cache: true
42+
cache-dependency-path: |
43+
**/Directory.Packages.props
44+
**/*.sln
45+
**/*.csproj
46+
**/global.json
47+
**/nuget.config
48+
3249
- name: NBGV
3350
id: nbgv
3451
uses: dotnet/nbgv@master

0 commit comments

Comments
 (0)