Skip to content

Commit eca87aa

Browse files
committed
fix release workflow
1 parent 7ddce72 commit eca87aa

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/core/SlickLadder.Core.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
<!-- Post-build event to copy WASM files to web directories -->
2424
<Target Name="CopyWasmFilesToWeb" AfterTargets="Publish" Condition="'$(RuntimeIdentifier)' == 'browser-wasm'">
2525
<PropertyGroup>
26-
<WasmAppBundlePath>$(PublishDir)..\AppBundle\_framework</WasmAppBundlePath>
27-
<WebPublicWasmPath>$(MSBuildProjectDirectory)\..\..\examples\web\public\wasm</WebPublicWasmPath>
28-
<WebLibWasmPath>$(MSBuildProjectDirectory)\..\..\src\web\wasm</WebLibWasmPath>
26+
<WasmAppBundlePath>$(PublishDir)../AppBundle/_framework</WasmAppBundlePath>
27+
<WebPublicWasmPath>$(MSBuildProjectDirectory)/../../examples/web/public/wasm</WebPublicWasmPath>
28+
<WebLibWasmPath>$(MSBuildProjectDirectory)/../../src/web/wasm</WebLibWasmPath>
2929
</PropertyGroup>
3030

3131
<Message Text="Copying WASM files from $(WasmAppBundlePath) to $(WebPublicWasmPath) and $(WebLibWasmPath)" Importance="high" />
@@ -36,11 +36,11 @@
3636

3737
<!-- Copy all WASM framework files (including subdirectories) -->
3838
<ItemGroup>
39-
<WasmFrameworkFiles Include="$(WasmAppBundlePath)\**\*" />
39+
<WasmFrameworkFiles Include="$(WasmAppBundlePath)/**/*" />
4040
</ItemGroup>
4141

42-
<Copy SourceFiles="@(WasmFrameworkFiles)" DestinationFolder="$(WebPublicWasmPath)\%(RecursiveDir)" SkipUnchangedFiles="false" />
43-
<Copy SourceFiles="@(WasmFrameworkFiles)" DestinationFolder="$(WebLibWasmPath)\%(RecursiveDir)" SkipUnchangedFiles="false" />
42+
<Copy SourceFiles="@(WasmFrameworkFiles)" DestinationFolder="$(WebPublicWasmPath)/%(RecursiveDir)" SkipUnchangedFiles="false" />
43+
<Copy SourceFiles="@(WasmFrameworkFiles)" DestinationFolder="$(WebLibWasmPath)/%(RecursiveDir)" SkipUnchangedFiles="false" />
4444

4545
<Message Text="WASM files copied successfully!" Importance="high" />
4646
</Target>

0 commit comments

Comments
 (0)