Skip to content

Commit

Permalink
Merge branch 'release-sideload' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
LanceMcCarthy authored Jul 18, 2024
2 parents 047a497 + 3eee4b1 commit 6039d02
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cd_release_sideload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,11 @@ jobs:
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
# Build using SideLoad and AppInstaller instructions (requires code signing)
- name: Restore wapproj
run: msbuild ${{ env.WappProjectPath }} /t:Restore /p:Configuration=${{ env.Configuration }}

- name: Build wapproj for Sideloading
run: msbuild ${{ env.WappProjectPath }} /t:Restore /p:GenerateAppInstallerFile=${{ env.GenerateAppInstallerFile }} /p:AppInstallerUri=${{ env.AppInstUri }} /p:HoursBetweenUpdateChecks=${{ env.HoursBetweenUpdateChecks }} /p:AppxPackageDir=${{ env.AppxPackageDirectory }} /p:Configuration=${{ env.Configuration }} /p:UapAppxPackageBuildMode=${{ env.AppxBuildMode }} /p:AppxBundle=${{ env.AppxBundleMode }} /p:PackageCertificateKeyFile=${{ env.SigningCertificate }} /p:PackageCertificatePassword=${{ env.CertPrivateKey }} /p:PackageCertificateThumbprint=${{ env.CertThumbprint }} /p:AppxPackageSigningEnabled=${{ env.AppxPackageSigningEnabled }} /p:Platform=${{ env.TargetPlatform }} /p:AppxBundlePlatforms="${{ env.AppxBundlePlatforms }}"
run: msbuild ${{ env.WappProjectPath }} /p:GenerateAppInstallerFile=${{ env.GenerateAppInstallerFile }} /p:AppInstallerUri=${{ env.AppInstUri }} /p:HoursBetweenUpdateChecks=${{ env.HoursBetweenUpdateChecks }} /p:AppxPackageDir=${{ env.AppxPackageDirectory }} /p:Configuration=${{ env.Configuration }} /p:UapAppxPackageBuildMode=${{ env.AppxBuildMode }} /p:AppxBundle=${{ env.AppxBundleMode }} /p:PackageCertificateKeyFile=${{ env.SigningCertificate }} /p:PackageCertificatePassword=${{ env.CertPrivateKey }} /p:PackageCertificateThumbprint=${{ env.CertThumbprint }} /p:AppxPackageSigningEnabled=${{ env.AppxPackageSigningEnabled }} /p:Platform=${{ env.TargetPlatform }} /p:AppxBundlePlatforms="${{ env.AppxBundlePlatforms }}"
env:
CertPrivateKey: ${{ secrets.LancelotSoftwareCert_Key }}
CertThumbprint: ${{ secrets.LancelotSoftwareCert_Thumbprint }}
Expand All @@ -134,7 +137,6 @@ jobs:
destination_folder: Installers/MediaFileManager
clean_destination_folder: true
is_recursive: true
delete_if_exists: true

# ZIP up the sideload packages for GitHub release using Powershell
- name: Create SideLoadPackages.zip
Expand Down

0 comments on commit 6039d02

Please sign in to comment.