Skip to content

Commit c9b9dfb

Browse files
committed
Add AOT analyzers and net8.0 target
1 parent c3f9f5d commit c9b9dfb

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

GitHubActionsTestLogger/GitHubActionsTestLogger.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;netstandard2.1;net462</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net8.0</TargetFrameworks>
55
<IsPackable>true</IsPackable>
6+
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
7+
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
68
</PropertyGroup>
79

810
<PropertyGroup>

GitHubActionsTestLogger/GitHubWorkflow.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ public void CreateErrorAnnotation(
5656
options["file"] = filePath;
5757

5858
if (line is not null)
59-
options["line"] = line.ToString();
59+
options["line"] = line.Value.ToString();
6060

6161
if (column is not null)
62-
options["col"] = column.ToString();
62+
options["col"] = column.Value.ToString();
6363

6464
InvokeCommand("error", message, options);
6565
}

0 commit comments

Comments
 (0)