Skip to content

Commit 47c212a

Browse files
committed
update: 动态库也打包进去
1 parent d51b35f commit 47c212a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
DOTNETARCH: ${{ matrix.dotnetarch }}
4141
run: |
4242
cd Image2Display/Image2Display
43-
dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true --self-contained true -p:PublishTrimmed=true -p:TrimMode=link
43+
dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true -p:IncludeNativeLibrariesFromSelfExtract=true --self-contained true -p:PublishTrimmed=true -p:TrimMode=link
4444
mkdir pkg
4545
mv bin/Release/net8.0/$DOTNETOS-$DOTNETARCH/publish/* pkg/
4646

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
DOTNETARCH: ${{ matrix.dotnetarch }}
4040
run: |
4141
cd Image2Display/Image2Display
42-
dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true --self-contained true -p:PublishTrimmed=true -p:TrimMode=link
42+
dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true -p:IncludeNativeLibrariesFromSelfExtract=true --self-contained true -p:PublishTrimmed=true -p:TrimMode=link
4343
mkdir pkg
4444
mv bin/Release/net8.0/$DOTNETOS-$DOTNETARCH/publish/* pkg/
4545

Image2Display/Image2Display/Image2Display.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Authors>chenxuuu</Authors>
1111
<Company>https://github.com/chenxuuu/image2display</Company>
1212
<Description>Image data conversion tool</Description>
13-
<Version>1.1.0.0</Version>
13+
<Version>1.1.2.0</Version>
1414
</PropertyGroup>
1515

1616
<ItemGroup>

0 commit comments

Comments
 (0)