Skip to content

Commit

Permalink
Add AOT analyzers and net8.0 target
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyrrrz committed May 20, 2024
1 parent c3f9f5d commit c9b9dfb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion GitHubActionsTestLogger/GitHubActionsTestLogger.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net462</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net462;net8.0</TargetFrameworks>
<IsPackable>true</IsPackable>
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
<IsAotCompatible Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible>
</PropertyGroup>

<PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions GitHubActionsTestLogger/GitHubWorkflow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ public void CreateErrorAnnotation(
options["file"] = filePath;

if (line is not null)
options["line"] = line.ToString();
options["line"] = line.Value.ToString();

if (column is not null)
options["col"] = column.ToString();
options["col"] = column.Value.ToString();

InvokeCommand("error", message, options);
}
Expand Down

0 comments on commit c9b9dfb

Please sign in to comment.