Skip to content

Commit

Permalink
Rename build artifact folder
Browse files Browse the repository at this point in the history
  • Loading branch information
augustoproiete committed Sep 26, 2021
1 parent 4b150e7 commit 2176774
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ jobs:
with:
if-no-files-found: warn
name: package
path: artifacts/nuget/**/*
path: artifact/nuget/**/*
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ Thumbs.db

#cake
.cake/
/artifacts/
/artifact/
6 changes: 3 additions & 3 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var buildVersion = MinVer(s => s.WithTagPrefix("v").WithDefaultPreReleasePhase("
Task("clean")
.Does(() =>
{
CleanDirectories("./artifacts/**");
CleanDirectories("./artifact/**");
CleanDirectories("./**/^{bin,obj}");
});

Expand Down Expand Up @@ -67,7 +67,7 @@ Task("pack")
Configuration = "Release",
NoRestore = true,
NoBuild = true,
OutputDirectory = "./artifacts/nuget",
OutputDirectory = "./artifact/nuget",
MSBuildSettings = new DotNetCoreMSBuildSettings()
.WithProperty("Version", buildVersion.Version)
.WithProperty("PackageReleaseNotes", releaseNotes)
Expand Down Expand Up @@ -98,7 +98,7 @@ Task("push")
ApiKey = apiKey,
};

foreach (var nugetPackageFile in GetFiles("./artifacts/nuget/*.nupkg"))
foreach (var nugetPackageFile in GetFiles("./artifact/nuget/*.nupkg"))
{
DotNetCoreNuGetPush(nugetPackageFile.FullPath, nugetPushSettings);
}
Expand Down

0 comments on commit 2176774

Please sign in to comment.