Skip to content

Commit d8845ef

Browse files
committed
update dotnet.yml
1 parent 0345b90 commit d8845ef

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.github/workflows/dotnet.yml

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will build a .NET project
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
33

4-
name: .NET
4+
name: Build
55

66
on:
77
workflow_dispatch:
@@ -31,14 +31,6 @@ jobs:
3131
file: |
3232
"**/SolutionAssemblyInfo.cs"
3333
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
4234
- uses: actions/cache@v4
4335
name: Restore dotnet tool Cache
4436
with:
@@ -50,10 +42,11 @@ jobs:
5042
- name: Setup .NET
5143
uses: actions/setup-dotnet@v4
5244
with:
53-
dotnet-version: 7.0.x
45+
dotnet-version: 9.0.x
46+
cache: true
5447
- 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
5750
run: |
5851
if (!(Get-Command vpk -ErrorAction SilentlyContinue)) {
5952
dotnet tool install -g vpk

0 commit comments

Comments
 (0)