2 Commits

Author SHA1 Message Date
Claire Kuang e3806f3fb4 marked tolerance as required input
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
2024-01-31 11:29:00 +00:00
Claire Kuang 591ff49340 added placeholder schema
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
2024-01-31 11:10:02 +00:00
2 changed files with 4 additions and 2 deletions
@@ -37,6 +37,8 @@ static class AutomateFunction
throw new Exception("Release branch has no commits");
}
var tolerance = functionInputs.Tolerance;
Console.WriteLine($"Comparing {testBranchName} against {releaseBranchName}");
// get the test and release commits
@@ -7,8 +7,8 @@ using System.ComponentModel.DataAnnotations;
/// are valid and match the required schema.
struct FunctionInputs
{
//[Required]
//public double Tolerance;
[Required]
public double Tolerance;
//public string Exclusions;
}