mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-15 20:28:04 -04:00
Tighten package sources in C# smoketests (#1735)
This commit is contained in:
@@ -137,9 +137,18 @@ jobs:
|
||||
<packageSources>
|
||||
<!-- Local NuGet repositories -->
|
||||
<add key="Local SpacetimeDB.BSATN.Runtime" value="../crates/bindings-csharp/BSATN.Runtime/bin/Release" />
|
||||
<!-- Official NuGet.org server -->
|
||||
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
<packageSourceMapping>
|
||||
<!-- Ensure that SpacetimeDB.BSATN.Runtime is used from the local folder. -->
|
||||
<!-- Otherwise we risk an outdated version being quietly pulled from NuGet for testing. -->
|
||||
<packageSource key="Local SpacetimeDB.BSATN.Runtime">
|
||||
<package pattern="SpacetimeDB.BSATN.Runtime" />
|
||||
</packageSource>
|
||||
<!-- Fallback to NuGet for other packages. -->
|
||||
<packageSource key="nuget.org">
|
||||
<package pattern="*" />
|
||||
</packageSource>
|
||||
</packageSourceMapping>
|
||||
</configuration>
|
||||
EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user