Update dotnet-desktop.yml

This commit is contained in:
Zhe Fang
2025-06-11 10:01:30 -04:00
committed by GitHub
parent 4f336282bb
commit e8c428614a

View File

@@ -58,8 +58,8 @@ jobs:
env:
Solution_Name: BetterLyrics.sln # Replace with your solution name, i.e. MyWpfApp.sln.
Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
Wap_Project_Directory: BetterLyrics.WinUI3\BetterLyrics.WinUI3 (Package) # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
Wap_Project_Path: BetterLyrics.WinUI3\BetterLyrics.WinUI3 (Package)\BetterLyrics.WinUI3 (Package).wapproj # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj.
Wap_Project_Directory: BetterLyrics.WinUI3 (Package) # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
Wap_Project_Path: BetterLyrics.WinUI3 (Package)\BetterLyrics.WinUI3 (Package).wapproj # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj.
steps:
- name: Checkout
@@ -87,7 +87,7 @@ jobs:
# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:BetterLyrics.sln /t:Restore /p:Configuration=$env:Configuration
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}