Fix issue with openssl installation on Azure (#7260)
This commit is contained in:
parent
8587dda4ad
commit
47027fc040
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ steps:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
choco install openssl -y --forcex64 --no-progress
|
choco install openssl -y --forcex64 --no-progress
|
||||||
Copy-Item -Path "C:\\Program Files\\OpenSSL-Win64" -Destination "$(Build.Repository.LocalPath)\\ext\\openssl\\windows\\x64" -Recurse
|
Copy-Item -Path "C:\\Program Files\\OpenSSL" -Destination "$(Build.Repository.LocalPath)\\ext\\openssl\\windows\\x64" -Recurse
|
||||||
displayName: 'Installing OpenSSL (x64)'
|
displayName: 'Installing OpenSSL (x64)'
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
|
|
@ -88,6 +88,7 @@ steps:
|
||||||
inputs:
|
inputs:
|
||||||
targetType: 'inline'
|
targetType: 'inline'
|
||||||
script: |
|
script: |
|
||||||
|
New-Item -Force -ItemType Directory -Path "C:\\Program Files (x86)\\OpenSSL-Win32"
|
||||||
choco uninstall openssl -y --ignore-autouninstaller-failure --no-progress
|
choco uninstall openssl -y --ignore-autouninstaller-failure --no-progress
|
||||||
choco install openssl -y --forcex86 --no-progress
|
choco install openssl -y --forcex86 --no-progress
|
||||||
Copy-Item -Path "C:\\Program Files (x86)\\OpenSSL-Win32" -Destination "$(Build.Repository.LocalPath)\\ext\\openssl\\windows\\x86" -Recurse
|
Copy-Item -Path "C:\\Program Files (x86)\\OpenSSL-Win32" -Destination "$(Build.Repository.LocalPath)\\ext\\openssl\\windows\\x86" -Recurse
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue