mirror of
https://github.com/actions/runner.git
synced 2025-12-11 12:57:05 +00:00
Add message size in chars and bytes (#1100)
* Add message size in chars and bytes * Log hash of message body
This commit is contained in:
@@ -47,7 +47,7 @@ namespace GitHub.Runner.Sdk
|
||||
return StringUtil.ConvertFromJson<T>(json);
|
||||
}
|
||||
|
||||
public static string GetPathHash(string path)
|
||||
public static string GetSha256Hash(string path)
|
||||
{
|
||||
string hashString = path.ToLowerInvariant();
|
||||
using (SHA256 sha256hash = SHA256.Create())
|
||||
|
||||
Reference in New Issue
Block a user