Skip to content

Commit

Permalink
Fix publish task
Browse files Browse the repository at this point in the history
  • Loading branch information
tmk907 committed Sep 14, 2023
1 parent e926764 commit 1e1afad
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build/PublishTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ public override void Run(BuildContext context)
{
Directory.Delete(context.ArtifactsDirectory.FullPath, true);
}
else
{
Directory.CreateDirectory(context.ArtifactsDirectory.FullPath);
}
Directory.CreateDirectory(context.ArtifactsDirectory.FullPath);

context.Log.Information($"Deleted artifacts folder {context.ArtifactsDirectory}");

Expand Down

0 comments on commit 1e1afad

Please sign in to comment.