Skip to content

Commit

Permalink
fix: publish actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladislav Konopelko committed Sep 17, 2024
1 parent 620d222 commit a22e84f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ jobs:
with:
dotnet-version: '8.0.x'

- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2

- name: Restore the application
run: dotnet publish $env:Solution_Name -p:PublishSingleFile=True --self-contained true -c $env.Configuration -r win-x64 -o $env.Wap_Project_Directory
- name: Publish the application
run: dotnet publish $env:Solution_Name -p:PublishSingleFile=True --no-self-contained False -c $env.Configuration -r win-x64 -o $env.Wap_Project_Directory

- name: Upload build artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit a22e84f

Please sign in to comment.