use mac 12 for esrp code sign (#22134)

### Description
Fix regression caused by #17361 



### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
This commit is contained in:
Yi Zhang 2024-09-19 12:06:41 +08:00 committed by GitHub
parent a9740d6f96
commit 560778fd07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,7 +69,7 @@ stages:
- job: MacOS_C_API_Package_Publish
pool:
${{ if eq(parameters.DoESRP, true)}}:
vmImage: 'macOS-13'
vmImage: 'macOS-12'
${{ else }}:
vmImage: 'macOS-13'
steps: