Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9e9b42ab0
|
||
|
|
e91183486a
|
||
|
|
92f55f4bdf
|
No files matched your search
@@ -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>
|
||||
@@ -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
@@ -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": [
|
||||
|
||||
Reference in new issue
Block a user