File tree 1 file changed +5
-12
lines changed
1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow will build a .NET project
2
2
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
3
4
- name : .NET
4
+ name : Build
5
5
6
6
on :
7
7
workflow_dispatch :
31
31
file : |
32
32
"**/SolutionAssemblyInfo.cs"
33
33
version : ${{ env.FlowVersion }}.${{ env.BUILD_NUMBER }}
34
- - uses : actions/cache@v4
35
- name : Restore Nuget Cache
36
- with :
37
- path : |
38
- ~/.nuget/packages
39
- key : ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
40
- restore-keys : |
41
- ${{ runner.os }}-nuget
42
34
- uses : actions/cache@v4
43
35
name : Restore dotnet tool Cache
44
36
with :
@@ -50,10 +42,11 @@ jobs:
50
42
- name : Setup .NET
51
43
uses : actions/setup-dotnet@v4
52
44
with :
53
- dotnet-version : 7.0.x
45
+ dotnet-version : 9.0.x
46
+ cache : true
54
47
- name : Install vpk
55
- Install vpk tool (dotnet tool install will not reinstall if already installed)
56
- We will update the cli by removing cache
48
+ Install vpk tool (dotnet tool install will not reinstall if already installed)
49
+ We will update the cli by removing cache
57
50
run : |
58
51
if (!(Get-Command vpk -ErrorAction SilentlyContinue)) {
59
52
dotnet tool install -g vpk
You can’t perform that action at this time.
0 commit comments