3 Commits
Author SHA1 Message Date
cneicy b9e9b42ab0 fix: download release SDK directly from Microsoft Blob
Publish NuGet packages / publish (push) Canceled after 0s
Publish UPM package / publish (push) Successful in 2s
2026-11-06 19:26:39 +08:00
cneicy e91183486a feat: update Godot integration and coordinated package dependencies 2026-11-06 19:13:16 +08:00
cneicy 92f55f4bdf chore: align SDK dependencies and document reusable capabilities
Publish UPM package / publish (push) Successful in 2s
Publish NuGet packages / publish (push) Successful in 3m35s
2026-09-29 10:14:42 +08:00
4 changed files with 18 additions and 7 deletions

No files matched your search

+2 -1
View File
@@ -63,7 +63,8 @@ jobs:
const release = metadata.releases.find(item => item.sdk?.version === sdkVersion);
const file = release?.sdk?.files?.find(item => item.rid === 'linux-x64' && item.name.endsWith('.tar.gz'));
if (!file) throw new Error(`Linux x64 SDK archive not found for ${sdkVersion}`);
const archiveResponse = await fetch(file.url);
const archiveUrl = `https://dotnetcli.blob.core.windows.net/dotnet/Sdk/${sdkVersion}/dotnet-sdk-${sdkVersion}-linux-x64.tar.gz`;
const archiveResponse = await fetch(archiveUrl);
if (!archiveResponse.ok) throw new Error(`SDK download failed: ${archiveResponse.status}`);
await writeFile('/tmp/dotnet-sdk.tar.gz', new Uint8Array(await archiveResponse.arrayBuffer()));
@@ -5,14 +5,14 @@
<AssemblyName>ShrinkContext.EventBusAdapter.Runtime</AssemblyName>
<RootNamespace>ShrinkContext.EventBusAdapter</RootNamespace>
<PackageId>ShrinkSDK.Context.EventBusAdapter</PackageId>
<Version>0.2.0</Version>
<Version>0.2.5</Version>
<Description>ShrinkContext reversible EventBus subscription effects.</Description>
<ShrinkCodeGenEnabled>false</ShrinkCodeGenEnabled>
</PropertyGroup>
<ItemGroup>
<Compile Include="..\Runtime\*.cs" />
<PackageReference Include="UniTask" Version="2.5.10" />
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.2.0" />
<PackageReference Include="ShrinkSDK.EventBus" Version="2.1.0" />
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.3.1" />
<PackageReference Include="ShrinkSDK.EventBus" Version="2.3.1" />
</ItemGroup>
</Project>
+10
View File
@@ -5,3 +5,13 @@
- Unity:通过 Package Manager 安装 `com.cneicy.shrink-context-eventbus-adapter`。
- Godot / .NET:安装 `ShrinkSDK.Context.EventBusAdapter`。
- NuGet 打包工程位于 `DotNet~/ShrinkSDK.Context.EventBusAdapter.csproj`。
## 可复用能力
<!-- shrink:capabilities -->
Capability: 把事件订阅绑定到 Context 可逆生命周期
Aliases: 订阅撤回 组件事件 effect
Limits: 不撤回已经发生的业务事实;使用组件所属线程注册和撤回
Extension: ShrinkEventBusEffects 的生命周期扩展
Evidence: [ShrinkEventBusEffects](Runtime/ShrinkEventBusEffects.cs)
<!-- /shrink:capabilities -->
+3 -3
View File
@@ -1,12 +1,12 @@
{
"name": "com.cneicy.shrink-context-eventbus-adapter",
"version": "0.2.0",
"version": "0.2.5",
"displayName": "ShrinkContext - EventBus Adapter",
"description": "把 ShrinkEventBus 订阅/注册包装为 ShrinkContext 可逆效应:订阅即效应,停用自动退订。",
"unity": "2022.3",
"dependencies": {
"com.cneicy.shrink-context-core": "0.2.0",
"com.cneicy.shrink-eventbus": "2.1.0",
"com.cneicy.shrink-context-core": "0.3.1",
"com.cneicy.shrink-eventbus": "2.3.1",
"com.cysharp.unitask": "2.5.10"
},
"keywords": [