Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit e56d439

Browse files
fix build
1 parent d342129 commit e56d439

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

build/Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.IO;
3+
using System.Threading.Tasks;
34
using static Bullseye.Targets;
45
using static SimpleExec.Command;
56

@@ -22,7 +23,7 @@ private static class Targets
2223
public const string SignPackage = "sign-package";
2324
}
2425

25-
internal static void Main(string[] args)
26+
static async Task Main(string[] args)
2627
{
2728
Target(Targets.RestoreTools, () =>
2829
{
@@ -67,7 +68,7 @@ internal static void Main(string[] args)
6768

6869
Target("sign", DependsOn(Targets.Test, Targets.SignPackage));
6970

70-
RunTargetsAndExit(args, ex => ex is SimpleExec.NonZeroExitCodeException || ex.Message.EndsWith(envVarMissing));
71+
await RunTargetsAndExitAsync(args, ex => ex is SimpleExec.ExitCodeException || ex.Message.EndsWith(envVarMissing));
7172
}
7273

7374
private static void SignNuGet()

build/build.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Bullseye" Version="3.5.0" />
10-
<PackageReference Include="SimpleExec" Version="6.3.0" />
9+
<PackageReference Include="Bullseye" Version="4.2.1" />
10+
<PackageReference Include="SimpleExec" Version="11.0.0" />
1111
</ItemGroup>
1212

1313
</Project>

0 commit comments

Comments
 (0)