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

Change packing to be runned by AppVeyor.

This commit is contained in:
Huo Yaoyuan 2019-11-26 16:40:48 +08:00
parent aa1545c938
commit deaeda7348
4 changed files with 4 additions and 6 deletions

View File

@ -28,6 +28,7 @@
<NoWarn>$(NoWarn);NU1701</NoWarn> <NoWarn>$(NoWarn);NU1701</NoWarn>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Label="Nuget"> <PropertyGroup Label="Nuget">
<IsPackable>false</IsPackable>
<Authors>ppy Pty Ltd</Authors> <Authors>ppy Pty Ltd</Authors>
<PackageLicenseExpression>MIT</PackageLicenseExpression> <PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/ppy/osu</PackageProjectUrl> <PackageProjectUrl>https://github.com/ppy/osu</PackageProjectUrl>
@ -36,6 +37,5 @@
<Company>ppy Pty Ltd</Company> <Company>ppy Pty Ltd</Company>
<Copyright>Copyright (c) 2019 ppy Pty Ltd</Copyright> <Copyright>Copyright (c) 2019 ppy Pty Ltd</Copyright>
<PackageTags>osu game</PackageTags> <PackageTags>osu game</PackageTags>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts\nupkg\</PackageOutputPath>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -14,12 +14,11 @@ build:
project: osu.sln project: osu.sln
parallel: true parallel: true
verbosity: minimal verbosity: minimal
publish_nuget: true
after_build: after_build:
- ps: dotnet tool restore - ps: dotnet tool restore
- ps: dotnet format --dry-run --check - ps: dotnet format --dry-run --check
- ps: .\InspectCode.ps1 - ps: .\InspectCode.ps1
artifacts:
- path: 'artifacts\nupkg\*.nupkg'
test: test:
assemblies: assemblies:
except: except:

View File

@ -15,8 +15,7 @@ build:
project: build\Desktop.proj # Skipping Xamarin Release that's slow and covered by fastlane project: build\Desktop.proj # Skipping Xamarin Release that's slow and covered by fastlane
parallel: true parallel: true
verbosity: minimal verbosity: minimal
artifacts: publish_nuget: true
- path: 'artifacts\nupkg\*.nupkg'
deploy: deploy:
- provider: Environment - provider: Environment
name: nuget name: nuget

View File

@ -9,7 +9,7 @@
<PackageId>ppy.osu.Game</PackageId> <PackageId>ppy.osu.Game</PackageId>
<Version>0.0.0</Version> <Version>0.0.0</Version>
<PackageIcon>icon.png</PackageIcon> <PackageIcon>icon.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <IsPackable>true</IsPackable>
</PropertyGroup> </PropertyGroup>
<ItemGroup Label="Icon"> <ItemGroup Label="Icon">
<None Include="..\assets\lazer-nuget.png"> <None Include="..\assets\lazer-nuget.png">