Skip to content

Commit

Permalink
fix: ensure all native dependencies are included in build
Browse files Browse the repository at this point in the history
  • Loading branch information
BytexGrid committed Dec 26, 2024
1 parent ba8bf22 commit 4c0bf4f
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,25 @@ jobs:
run: |
cd NeatShift
dotnet restore NeatShift.sln
dotnet publish NeatShift.sln -c Release -r win-x64 --self-contained true /p:PublishSingleFile=true /p:EnableCompressionInSingleFile=true /p:DebugType=None /p:DebugSymbols=false /p:IncludeNativeLibrariesForSelfExtract=true /p:SelfContained=true
dotnet publish NeatShift.sln -c Release -r win-x64 --self-contained true `
/p:PublishSingleFile=true `
/p:EnableCompressionInSingleFile=true `
/p:IncludeNativeLibrariesForSelfExtract=true `
/p:IncludeAllContentForSelfExtract=true `
/p:DebugType=None `
/p:DebugSymbols=false `
/p:UseAppHost=true `
/p:SelfContained=true
- name: Build ZIP Package
run: |
cd NeatShift
dotnet restore NeatShift.sln
dotnet publish NeatShift.sln -c Release -r win-x64 --self-contained true /p:DebugType=None /p:DebugSymbols=false
dotnet publish NeatShift.sln -c Release -r win-x64 --self-contained true `
/p:DebugType=None `
/p:DebugSymbols=false `
/p:UseAppHost=true `
/p:IncludeNativeLibrariesForSelfExtract=true
Copy-Item "../icon.ico" -Destination "./NeatShift/bin/Release/net6.0-windows/win-x64/publish/"
Compress-Archive -Path ./NeatShift/bin/Release/net6.0-windows/win-x64/publish/* -DestinationPath ./NeatShift/bin/Release/net6.0-windows/win-x64/NeatShift-Release.zip -Force
Expand Down

0 comments on commit 4c0bf4f

Please sign in to comment.