cake脚本有误

This commit is contained in:
nsnail 2023-01-19 16:03:02 +08:00
parent a6a84d9d1c
commit e7bad2207c

View File

@ -15,7 +15,7 @@ Task("Build")
.IsDependentOn("Clean") .IsDependentOn("Clean")
.Does(context => .Does(context =>
{ {
DotNetPublish("./src/dot.csproj", new DotNetPublishSettings { DotNetPublish("./src/NSCodeAnalysis.csproj", new DotNetPublishSettings {
Configuration = configuration, Configuration = configuration,
Framework = framework, Framework = framework,
}); });
@ -89,7 +89,7 @@ Task("Publish-NuGet")
} }
// Publish to GitHub Packages // Publish to GitHub Packages
foreach(var file in context.GetFiles("./.artifacts/*.nupkg")) foreach(var file in context.GetFiles("./dist/NSCodeAnalysis/bin/*.*"))
{ {
context.Information("Publishing {0}...", file.GetFilename().FullPath); context.Information("Publishing {0}...", file.GetFilename().FullPath);
DotNetNuGetPush(file.FullPath, new DotNetNuGetPushSettings DotNetNuGetPush(file.FullPath, new DotNetNuGetPushSettings