Skip to content

Commit

Permalink
Update build.jaml
Browse files Browse the repository at this point in the history
  • Loading branch information
WamWooWam committed Dec 4, 2024
1 parent e988521 commit bfbeec9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ jobs:

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore NuGet Packages
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration /p:Platform=x64
run: -
msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration /p:Platform=x86
msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration /p:Platform=x64
msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration /p:Platform=ARM
env:
Configuration: ${{ matrix.configuration }}

Expand All @@ -63,7 +66,7 @@ jobs:
# Create the app package by building and packaging the project
- name: Build App Packages
run: msbuild $env:ProjectFile_Name /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:AppxBundlePlatforms="x86|x64|ARM|ARM64" /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:AppxPackageDir="$env:Appx_Package_Dir" /p:GenerateAppxPackageOnBuild=true
run: msbuild $env:ProjectFile_Name /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:AppxBundlePlatforms="x86|x64|ARM" /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:AppxPackageDir="$env:Appx_Package_Dir" /p:GenerateAppxPackageOnBuild=true
env:
Appx_Bundle: Always
Appx_Package_Build_Mode: SideloadOnly
Expand Down

0 comments on commit bfbeec9

Please sign in to comment.