mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
Remove all macOS-10.15 related code (#7078)
This commit is contained in:
@@ -8,9 +8,8 @@ psDownloadUrl=$(get_github_package_download_url "PowerShell/PowerShell" "contain
|
||||
download_with_retries $psDownloadUrl "/tmp" "powershell.pkg"
|
||||
|
||||
# Work around the issue on macOS Big Sur 11.5 or higher for possible error message ("can't be opened because Apple cannot check it for malicious software") when installing the package
|
||||
if ! is_Catalina; then
|
||||
sudo xattr -rd com.apple.quarantine /tmp/powershell.pkg
|
||||
fi
|
||||
sudo xattr -rd com.apple.quarantine /tmp/powershell.pkg
|
||||
|
||||
|
||||
sudo installer -pkg /tmp/powershell.pkg -target /
|
||||
|
||||
|
||||
Reference in New Issue
Block a user