Skip to content

Commit

Permalink
Merge pull request #4279 from devlead/feature/gh-4278
Browse files Browse the repository at this point in the history
GH4278: Update Spectre.Console to 0.49.1
  • Loading branch information
devlead authored Sep 26, 2024
2 parents 06e82a7 + fec1acf commit 9b171c0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
os: [windows-latest, macos-13, ubuntu-latest]
steps:
- name: Get the sources
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions src/Cake.Cli/Cake.Cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<ItemGroup>
<PackageReference Include="Autofac" Version="8.0.0" />
<PackageReference Include="Spectre.Console" Version="0.47.0" />
<PackageReference Include="Spectre.Console.Cli" Version="0.47.0" />
<PackageReference Include="Spectre.Console" Version="0.49.1" />
<PackageReference Include="Spectre.Console.Cli" Version="0.49.1" />
</ItemGroup>
</Project>
5 changes: 3 additions & 2 deletions src/Cake/Commands/DefaultCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,11 @@ private static CakeArguments CreateCakeArguments(IRemainingArguments remainingAr
// Keep the actual remaining arguments in the cake arguments
foreach (var group in remainingArguments.Parsed)
{
arguments[group.Key] = new List<string>();
string key = group.Key.TrimStart('-');
arguments[key] = new List<string>();
foreach (var argument in group)
{
arguments[group.Key].Add(argument);
arguments[key].Add(argument);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ Task("Cake.Common.Tools.DotNet.DotNetAliases.DotNetWorkloadSearch")

Task("Cake.Common.Tools.DotNet.DotNetAliases.DotNetWorkloadRepair")
.IsDependentOn("Cake.Common.Tools.DotNet.DotNetAliases.Setup")
.OnError(exception => { Console.WriteLine(exception); })
.Does(() =>
{
// When
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/Cake.Core/Scripting/AddinDirective.cake
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Task("Cake.Core.Scripting.AddinDirective.LoadNativeAssemblies")
{
FilePath cakeCore = typeof(ICakeContext).GetTypeInfo().Assembly.Location;
FilePath cake = cakeCore.GetDirectory().CombineWithFilePath("Cake.dll");
var script = @"#addin nuget:?package=Cake.Git&version=2.0.0
var script = @"#addin nuget:?package=Cake.Git&version=4.0.0
var repoRoot = GitFindRootFromPath(Context.EnvironmentVariable(""CAKE_TEST_DIR""));
Expand Down

0 comments on commit 9b171c0

Please sign in to comment.