diff --git a/GitHubActionsTestLogger/GitHubActionsTestLogger.csproj b/GitHubActionsTestLogger/GitHubActionsTestLogger.csproj index 33d107f..12bd51b 100644 --- a/GitHubActionsTestLogger/GitHubActionsTestLogger.csproj +++ b/GitHubActionsTestLogger/GitHubActionsTestLogger.csproj @@ -1,8 +1,10 @@ - netstandard2.0;netstandard2.1;net462 + netstandard2.0;netstandard2.1;net462;net8.0 true + true + true diff --git a/GitHubActionsTestLogger/GitHubWorkflow.cs b/GitHubActionsTestLogger/GitHubWorkflow.cs index c4caf19..b9ce6fc 100644 --- a/GitHubActionsTestLogger/GitHubWorkflow.cs +++ b/GitHubActionsTestLogger/GitHubWorkflow.cs @@ -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); }