Compare commits
4 Commits
0.0.0-alpha
...
0.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
| 591ff49340 | |||
| b1872be922 | |||
| aff5834508 | |||
| 2eccfafe45 |
@@ -21,7 +21,7 @@ jobs:
|
|||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Extract functionInputSchema
|
- name: Extract functionInputSchema
|
||||||
id: extract_schema
|
id: extract_schema
|
||||||
working-directory: "SpeckleRegressionTester"
|
working-directory: "SpeckleAutomateDotnetExample"
|
||||||
run: |
|
run: |
|
||||||
dotnet build
|
dotnet build
|
||||||
dotnet run generate-schema ${HOME}/functionSchema.json
|
dotnet run generate-schema ${HOME}/functionSchema.json
|
||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
- name: Speckle Automate Function - Build and Publish
|
- name: Speckle Automate Function - Build and Publish
|
||||||
uses: specklesystems/speckle-automate-github-composite-action@0.7.2
|
uses: specklesystems/speckle-automate-github-composite-action@0.7.2
|
||||||
with:
|
with:
|
||||||
speckle_function_command: "dotnet SpeckleRegressionTester.dll"
|
speckle_function_command: "dotnet SpeckleAutomateDotnetExample.dll"
|
||||||
speckle_automate_url: ${{ env.SPECKLE_AUTOMATE_URL }}
|
speckle_automate_url: ${{ env.SPECKLE_AUTOMATE_URL }}
|
||||||
speckle_token: ${{ secrets.SPECKLE_FUNCTION_TOKEN }}
|
speckle_token: ${{ secrets.SPECKLE_FUNCTION_TOKEN }}
|
||||||
speckle_function_id: ${{ secrets.SPECKLE_FUNCTION_ID }}
|
speckle_function_id: ${{ secrets.SPECKLE_FUNCTION_ID }}
|
||||||
|
|||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env
|
FROM mcr.microsoft.com/dotnet/sdk:7.0 as build-env
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY SpeckleRegressionTester/ .
|
COPY SpeckleAutomateDotnetExample/ .
|
||||||
RUN dotnet restore --use-current-runtime
|
RUN dotnet restore --use-current-runtime
|
||||||
RUN dotnet publish --use-current-runtime --self-contained false --no-restore -o /publish
|
RUN dotnet publish --use-current-runtime --self-contained false --no-restore -o /publish
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio Version 17
|
# Visual Studio Version 17
|
||||||
VisualStudioVersion = 17.5.002.0
|
VisualStudioVersion = 17.5.002.0
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpeckleRegressionTester", "SpeckleAutomateDotnetExample\SpeckleRegressionTester.csproj", "{E1DE5809-1111-4817-9B7D-7ADCA087FA1C}"
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SpeckleAutomateDotnetExample", "SpeckleAutomateDotnetExample\SpeckleAutomateDotnetExample.csproj", "{E1DE5809-1111-4817-9B7D-7ADCA087FA1C}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@@ -8,7 +8,7 @@ using System.ComponentModel.DataAnnotations;
|
|||||||
struct FunctionInputs
|
struct FunctionInputs
|
||||||
{
|
{
|
||||||
//[Required]
|
//[Required]
|
||||||
//public double Tolerance;
|
public double Tolerance;
|
||||||
|
|
||||||
//public string Exclusions;
|
//public string Exclusions;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user