Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xChipseq authored Jan 30, 2025
1 parent 96e55f6 commit 3d2efc4
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,13 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Build for release
run: dotnet publish --no-restore
# Releases with .NET build-in
- name: Build for release x86.NET
run: dotnet publish -r win-x86 -c Release /p:PublishSingleFile=true /p:SelfContained=true /p:EnableCompressionInSingleFile=true
- name: Build for release x64.NET
run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=true /p:EnableCompressionInSingleFile=true
# Releases without .NET
- name: Build for release x86
run: dotnet publish -r win-x86 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:EnableCompressionInSingleFile=true
- name: Build for release x64
run: dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:SelfContained=false /p:EnableCompressionInSingleFile=true

0 comments on commit 3d2efc4

Please sign in to comment.