2 Commits

Author SHA1 Message Date
Claire Kuang 86e4759531 updates to use 2.18 prerelease nugets
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
2024-01-31 11:54:23 +00:00
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
3 changed files with 5 additions and 3 deletions
@@ -37,6 +37,8 @@ static class AutomateFunction
throw new Exception("Release branch has no commits"); throw new Exception("Release branch has no commits");
} }
var tolerance = functionInputs.Tolerance;
Console.WriteLine($"Comparing {testBranchName} against {releaseBranchName}"); Console.WriteLine($"Comparing {testBranchName} against {releaseBranchName}");
// get the test and release commits // get the test and release commits
@@ -7,7 +7,7 @@ using System.ComponentModel.DataAnnotations;
/// are valid and match the required schema. /// are valid and match the required schema.
struct FunctionInputs struct FunctionInputs
{ {
//[Required] [Required]
public double Tolerance; public double Tolerance;
//public string Exclusions; //public string Exclusions;
@@ -8,7 +8,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Speckle.Automate.Sdk" Version="2.17.0-automate3" /> <PackageReference Include="Speckle.Automate.Sdk" Version="2.18.0-fileInput" />
<PackageReference Include="Speckle.Objects" Version="2.17.0-automate3" /> <PackageReference Include="Speckle.Objects" Version="2.18.0-fileInput" />
</ItemGroup> </ItemGroup>
</Project> </Project>