1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Add nuget http cache

This commit is contained in:
Huo Yaoyuan 2019-11-25 15:59:38 +08:00
parent 575b4db186
commit 3c6526bbd2

View File

@ -5,6 +5,8 @@ dotnet_csproj:
patch: true patch: true
file: 'osu.Game\osu.Game.csproj' # Use wildcard when it's able to exclude Xamarin projects file: 'osu.Game\osu.Game.csproj' # Use wildcard when it's able to exclude Xamarin projects
version: '0.0.{build}' version: '0.0.{build}'
cache:
- '%LOCALAPPDATA%\NuGet\v3-cache' -> appveyor.yml
before_build: before_build:
- ps: dotnet --info # Useful when version mismatch between CI and local - ps: dotnet --info # Useful when version mismatch between CI and local
- ps: nuget restore -verbosity quiet # Only nuget.exe knows both new (.NET Core) and old (Xamarin) projects - ps: nuget restore -verbosity quiet # Only nuget.exe knows both new (.NET Core) and old (Xamarin) projects