mirror of
https://github.com/nsnail/NSCodeAnalysis.git
synced 2025-04-14 15:32:50 +08:00
cake脚本有误
This commit is contained in:
parent
a6a84d9d1c
commit
e7bad2207c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user