diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 0a4773de4..9ba4f20ac 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -54,7 +54,10 @@ jobs: - name: Install vpk Install vpk tool (dotnet tool install will not reinstall if already installed) We will update the cli by removing cache - run: dotnet tool update -g vpk + run: | + if (!(Get-Command vpk -ErrorAction SilentlyContinue)) { + dotnet tool install -g vpk + } - name: Restore dependencies run: dotnet restore - name: Build