Skip to content

Commit 2085bdb

Browse files
committed
Fix#: use runtimes folder instead of native lib
1 parent 608fa82 commit 2085bdb

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/build-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ jobs:
5757
artifact-ids: ${{ needs.build-native.outputs.native-id }}
5858

5959
- name: 'Move native lib'
60-
run: mv ApplicationLoopback.dll ApplicationLoopback.NET/ApplicationLoopback.NET/
60+
run: |
61+
mkdir -pv ApplicationLoopback.NET/ApplicationLoopback.NET/runtimes/win-x64/
62+
mv ApplicationLoopback.dll ApplicationLoopback.NET/ApplicationLoopback.NET/runtimes/win-x64/
6163
6264
- name: 'Build NuGet'
6365
uses: Yellow-Dog-Man/composite-actions-templates/.github/actions/dotnet-build@606ac289d701be7b7d90e5ff8647dedf57d6d755 # main

ApplicationLoopback.NET/ApplicationLoopback.NET/ApplicationLoopback.NET.csproj

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@
77
<PackageId>YellowDogMan.ApplicationLoobpack.NET</PackageId>
88
</PropertyGroup>
99

10-
<ItemGroup>
11-
<None Remove="ApplicationLoopback.dll" />
12-
</ItemGroup>
13-
14-
<ItemGroup>
15-
<Content Include="ApplicationLoopback.dll">
16-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
17-
</Content>
18-
</ItemGroup>
10+
<files>
11+
<file src="runtimes\**" target="runtimes/"/>
12+
</files>
1913

2014
<ItemGroup>
2115
<PackageReference Include="System.Memory" Version="4.6.3" />

0 commit comments

Comments
 (0)