Skip to content

Commit 7c54531

Browse files
committed
Feat#: include native lib directly
1 parent 2085bdb commit 7c54531

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/build-publish.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ jobs:
5656
with:
5757
artifact-ids: ${{ needs.build-native.outputs.native-id }}
5858

59-
- name: 'Move native lib'
60-
run: |
61-
mkdir -pv ApplicationLoopback.NET/ApplicationLoopback.NET/runtimes/win-x64/
62-
mv ApplicationLoopback.dll ApplicationLoopback.NET/ApplicationLoopback.NET/runtimes/win-x64/
63-
6459
- name: 'Build NuGet'
6560
uses: Yellow-Dog-Man/composite-actions-templates/.github/actions/dotnet-build@606ac289d701be7b7d90e5ff8647dedf57d6d755 # main
6661
with:

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

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

10-
<files>
11-
<file src="runtimes\**" target="runtimes/"/>
12-
</files>
10+
<ItemGroup>
11+
<None Include="../../ApplicationLoopback.dll"
12+
Pack="true"
13+
PackagePath="runtimes/win-x64/native/"
14+
CopyToOutputDirectory="PreserveNewest" />
15+
</ItemGroup>
1316

1417
<ItemGroup>
1518
<PackageReference Include="System.Memory" Version="4.6.3" />

0 commit comments

Comments
 (0)