Skip to content

Commit

Permalink
Update dotnet-desktop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
viordash authored Feb 21, 2024
1 parent 9792208 commit 3cbcda0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,18 @@ jobs:
- name: Build
run: dotnet build ./AudioRezkaApp/AudioRezkaApp.sln --configuration Release --no-restore

- name: Publish
- name: Publish single file & self-contained
run: |
dotnet publish "./AudioRezkaApp\AudioRezkaApp/AudioRezkaApp.csproj" -c PublishRelease -r win-x64 -f net8.0-windows -p:PublishSingleFile=true --self-contained false -o "./out/win64" -p:DebugType=None
dotnet publish "./AudioRezkaApp\AudioRezkaApp/AudioRezkaApp.csproj" -c PublishRelease -r win-x64 -f net8.0-windows -p:PublishSingleFile=true --self-contained true -o "./out/win64_sfsc" -p:DebugType=None
- name: Publish self-contained
run: |
dotnet publish "./AudioRezkaApp\AudioRezkaApp/AudioRezkaApp.csproj" -c PublishRelease -r win-x64 -f net8.0-windows -p:PublishSingleFile=false --self-contained true -o "./out/win64_sc" -p:DebugType=None
- name: Publish single file
run: |
dotnet publish "./AudioRezkaApp\AudioRezkaApp/AudioRezkaApp.csproj" -c PublishRelease -r win-x64 -f net8.0-windows -p:PublishSingleFile=true --self-contained false -o "./out/win64_sf" -p:DebugType=None
- name: Deploy Win64
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3cbcda0

Please sign in to comment.