Skip to content

Commit e37eaec

Browse files
committed
Try to force using local BSATN
1 parent 46b44ad commit e37eaec

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,7 @@ jobs:
717717
timeout-minutes: 30
718718
env:
719719
CARGO_TARGET_DIR: ${{ github.workspace }}/target
720+
UseLocalBsatnRuntime: true
720721
steps:
721722
- name: Checkout repository
722723
id: checkout-stdb

sdks/csharp/SpacetimeDB.ClientSDK.Godot.csproj

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,18 @@
2828
<PackageOutputPath>bin~/$(Configuration)/</PackageOutputPath>
2929
<BaseIntermediateOutputPath>obj~/godot/</BaseIntermediateOutputPath>
3030
<IntermediateOutputPath>obj~/godot/$(Configuration)/$(TargetFramework)/</IntermediateOutputPath>
31+
<UseLocalBsatnRuntime Condition="'$(UseLocalBsatnRuntime)' == ''">false</UseLocalBsatnRuntime>
3132
</PropertyGroup>
3233

33-
<ItemGroup>
34+
<ItemGroup Condition="'$(UseLocalBsatnRuntime)' != 'true'">
3435
<PackageReference Include="SpacetimeDB.BSATN.Runtime" Version="2.2.*" />
3536
</ItemGroup>
3637

38+
<ItemGroup Condition="'$(UseLocalBsatnRuntime)' == 'true'">
39+
<ProjectReference Include="../../crates/bindings-csharp/BSATN.Runtime/BSATN.Runtime.csproj" />
40+
<ProjectReference Include="../../crates/bindings-csharp/BSATN.Codegen/BSATN.Codegen.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
41+
</ItemGroup>
42+
3743
<ItemGroup>
3844
<CompilerVisibleProperty Include="GodotDisabledSourceGenerators" />
3945
<CompilerVisibleProperty Include="GodotProjectDir" />

0 commit comments

Comments
 (0)