clone_depth: 1
version: '{build}'
image: Visual Studio 2019
dotnet_csproj:
  patch: true
  file: 'osu.Game\osu.Game.csproj' # Use wildcard when it's able to exclude Xamarin projects
  version: $(APPVEYOR_REPO_TAG_NAME)
before_build:
  - 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
test: off
skip_non_tags: true
configuration: Release
build:
  project: build\Desktop.proj # Skipping Xamarin Release that's slow and covered by fastlane
  parallel: true
  verbosity: minimal
  publish_nuget: true
deploy:
  - provider: Environment
    name: nuget