[CI] Remove the usage of python2 and move to python 3. (#15226)
This commit is contained in:
Родитель
38b0a2fafd
Коммит
454e16a59a
|
@ -35,15 +35,6 @@ steps:
|
|||
displayName: 'Show Environment'
|
||||
|
||||
- powershell: |
|
||||
Write-Host "Python version"
|
||||
python --version
|
||||
|
||||
Write-Host "Python location"
|
||||
which python
|
||||
|
||||
Write-Host "Python2 location"
|
||||
which python2
|
||||
|
||||
Write-Host "Python3 location"
|
||||
which python3
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ steps:
|
|||
- ${{ if or(eq(parameters.skipESRP, true), eq(variables['IsPR'], 'True')) }}:
|
||||
- bash: |
|
||||
security unlock-keychain -p $PRODUCTSIGN_KEYCHAIN_PASSWORD builder.keychain
|
||||
echo "$PACKAGES" | xargs python $(Build.SourcesDirectory)/release-scripts/sign_and_notarize.py --no_notarization -a "$APP_ID" -i "$INSTALL_ID" -u "$APPLE_ACCOUNT" -p "$APPLE_PASS" -t "$TEAM_ID" -d $(Build.SourcesDirectory)/package/notarized -e "$MAC_ENTITLEMENTS" -k "$KEYCHAIN"
|
||||
echo "$PACKAGES" | xargs python3 $(Build.SourcesDirectory)/release-scripts/sign_and_notarize.py --no_notarization -a "$APP_ID" -i "$INSTALL_ID" -u "$APPLE_ACCOUNT" -p "$APPLE_PASS" -t "$TEAM_ID" -d $(Build.SourcesDirectory)/package/notarized -e "$MAC_ENTITLEMENTS" -k "$KEYCHAIN"
|
||||
env:
|
||||
PRODUCTSIGN_KEYCHAIN_PASSWORD: ${{ parameters.keyringPass }}
|
||||
MAC_ENTITLEMENTS: $(Build.SourcesDirectory)/xamarin-macios/mac-entitlements.plist
|
||||
|
|
Загрузка…
Ссылка в новой задаче