Skip to content

Commit

Permalink
${{ env.AppxPackageDir }}
Browse files Browse the repository at this point in the history
  • Loading branch information
mfe- committed Mar 24, 2024
1 parent c8e6136 commit 7c17f4e
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,20 +181,9 @@ jobs:
mkdir ${{env.AppxPackageDir}}
msbuild $env:Wap_Project_Path/$env:Wap_Project_Path.wapproj `
/t:Restore `
/p:Configuration=${{ matrix.configuration }} `
/p:TargetFramework=net8.0-windows `
/p:RuntimeIdentifiers=win-x86
if ($LASTEXITCODE -ne 0) {
Write-Error "MSBuild Restore failed with exit code $LASTEXITCODE"
exit $LASTEXITCODE
}
echo "MSBuild Restore succeeded"
msbuild $env:Wap_Project_Path/$env:Wap_Project_Path.wapproj `
/t:Build `
/t:Restore;Build `
/p:AppxBundlePlatforms="$env:Appx_Bundle_Platforms" `
/p:Configuration=${{ matrix.configuration }} `
/p:UapAppxPackageBuildMode=$env:BuildMode `
Expand Down Expand Up @@ -225,4 +214,4 @@ jobs:
# if: github.event_name != 'pull_request' && env.Wap_build == 'true'
with:
name: MSIX Package
path: $env:AppxPackageDir
path: ${{ env.AppxPackageDir }}

0 comments on commit 7c17f4e

Please sign in to comment.