1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-25 22:18:34 +01:00

Compare commits

...

2 commits

Author SHA1 Message Date
Ell
e60d3591ff updated tests to net6.0 2022-09-09 17:55:23 +02:00
Ell
a274517861 fixed non-MLEM packages being deleted in build 2022-09-09 17:55:14 +02:00
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<VSTestLogger>nunit</VSTestLogger> <VSTestLogger>nunit</VSTestLogger>
<RootNamespace>Tests</RootNamespace> <RootNamespace>Tests</RootNamespace>
<DefineConstants>$(DefineConstants);FNA</DefineConstants> <DefineConstants>$(DefineConstants);FNA</DefineConstants>

View file

@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<VSTestLogger>nunit</VSTestLogger> <VSTestLogger>nunit</VSTestLogger>
</PropertyGroup> </PropertyGroup>

View file

@ -16,7 +16,7 @@ Task("Prepare").Does(() => {
version += "-" + buildNum; version += "-" + buildNum;
} }
DeleteFiles("**/*.nupkg"); DeleteFiles("**/MLEM*.nupkg");
}); });
Task("Build").IsDependentOn("Prepare").Does(() =>{ Task("Build").IsDependentOn("Prepare").Does(() =>{
@ -62,7 +62,7 @@ Task("Push").WithCriteria(branch == "main" || branch == "release").IsDependentOn
}; };
} }
settings.SkipDuplicate = true; settings.SkipDuplicate = true;
NuGetPush(GetFiles("**/*.nupkg"), settings); NuGetPush(GetFiles("**/MLEM*.nupkg"), settings);
}); });
Task("Document").Does(() => { Task("Document").Does(() => {