build: Support manually generating C# bindings via Github action and add a README (#423)

This commit is contained in:
Denis Komissarov
2025-07-03 10:31:32 -07:00
committed by GitHub
parent 8ee1cf3298
commit 168b2a9c88
5 changed files with 42 additions and 1 deletions
@@ -7,6 +7,11 @@
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
<TestingPlatformShowTestsFailure>true</TestingPlatformShowTestsFailure>
</PropertyGroup>
<PropertyGroup>
<!-- If the environment variable is set (such as in a Github Action run), append the suffix to the version number -->
<RegorusPackageVersionSuffix Condition="'$(VersionSuffix)' != ''">-$(VersionSuffix)</RegorusPackageVersionSuffix>
</PropertyGroup>
<ItemGroup>
<None Include="../../../tests/**/*.*" Link="tests/%(RecursiveDir)%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" />
@@ -17,6 +22,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Regorus" Version="0.5.0"/>
<PackageReference Include="Regorus" Version="0.6.0$(RegorusPackageVersionSuffix)"/>
</ItemGroup>
</Project>