Switch to PME signing service (#2298)

* update package version

* temp

* service connection

* reset
This commit is contained in:
oneonezhang 2025-02-19 13:03:23 +08:00 committed by GitHub
parent 41fc032bee
commit 0d9bf6a909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 3 deletions

View file

@ -55,7 +55,7 @@ jobs:
downloadDirectory: $(Build.SourcesDirectory)
vstsFeed: WindowsInboxApps
vstsFeedPackage: calculator-internals
vstsPackageVersion: 0.0.114
vstsPackageVersion: 0.0.117
- task: NuGetToolInstaller@1
displayName: Use NuGet 6.x

View file

@ -91,7 +91,7 @@ jobs:
downloadDirectory: $(Build.SourcesDirectory)
vstsFeed: WindowsInboxApps
vstsFeedPackage: calculator-internals
vstsPackageVersion: 0.0.114
vstsPackageVersion: 0.0.117
- task: PowerShell@2
displayName: Generate MsixBundle mapping

View file

@ -28,6 +28,15 @@ jobs:
contents: Microsoft.WindowsCalculator_8wekyb3d8bbwe.msixbundle
targetFolder: $(Pipeline.Workspace)\vpack\msixBundle
- task: AzureCLI@2
displayName: Register SBOM sign service connection
inputs:
azureSubscription: Essential Experiences SBOMSign PME
scriptType: ps
scriptLocation: inlineScript
inlineScript: Write-Host "Registering service connection for current run"
visibleAzLogin: false
- task: UniversalPackages@0
displayName: Download internals package
inputs:
@ -35,7 +44,7 @@ jobs:
downloadDirectory: $(Build.SourcesDirectory)
vstsFeed: WindowsInboxApps
vstsFeedPackage: calculator-internals
vstsPackageVersion: 0.0.114
vstsPackageVersion: 0.0.117
- pwsh: |
$configPath = "$(Build.SourcesDirectory)\Tools\Build\Signing\ESRP-auth.json"