1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 09:07:25 +08:00

Update deploy script.

This commit is contained in:
Huo Yaoyuan 2019-11-24 19:44:13 +08:00
parent 38dae996a1
commit 3a62406c58
3 changed files with 13 additions and 2 deletions

View File

@ -12,6 +12,8 @@ after_build:
- ps: dotnet tool restore
- ps: dotnet format --dry-run --check
- ps: .\InspectCode.ps1
artifacts:
- path: '**\*.nupkg'
test:
assemblies:
except:

View File

@ -1,10 +1,18 @@
clone_depth: 1
version: '{build}'
image: Visual Studio 2019
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
build_script:
- cmd: PowerShell -Version 2.0 .\build.ps1
configuration: Release
build:
project: osu.sln
parallel: true
verbosity: minimal
artifacts:
- path: '**\*.nupkg'
deploy:
- provider: Environment
name: nuget

View File

@ -8,6 +8,7 @@
<Title>osu!</Title>
<PackageId>ppy.osu.Game</PackageId>
<PackageIcon>icon.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup Label="Icon">
<None Include="..\assets\lazer-nuget.png">