mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 15:32:11 +00:00
Compare commits
29 Commits
3.8.4-9674
...
3.9.5-1094
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ae7e50b370 | ||
|
|
7d36f506c4 | ||
|
|
f670a2adea | ||
|
|
505f65215c | ||
|
|
4598952486 | ||
|
|
42bcd17332 | ||
|
|
878244d959 | ||
|
|
42c2eea389 | ||
|
|
493c59469e | ||
|
|
bd93b9d693 | ||
|
|
d0e5494ee2 | ||
|
|
0601c2bfde | ||
|
|
4eb1751819 | ||
|
|
54aba042fd | ||
|
|
31ab2bc9f8 | ||
|
|
5f4f86cc5e | ||
|
|
8ea13d774e | ||
|
|
afecc6a8b9 | ||
|
|
f4b22cc454 | ||
|
|
281024aec4 | ||
|
|
17b1cd02ca | ||
|
|
33a76c361a | ||
|
|
371f79b70a | ||
|
|
3b961aaf4b | ||
|
|
e67096ebd1 | ||
|
|
bd7c907270 | ||
|
|
8a3240d440 | ||
|
|
0da39d896f | ||
|
|
9fb025cb4b |
@@ -28,16 +28,20 @@ function Remove-RegistryEntries {
|
||||
$versionFilter = Get-RegistryVersionFilter -Architecture $Architecture -MajorVersion $MajorVersion -MinorVersion $MinorVersion
|
||||
|
||||
$regPath = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products"
|
||||
$regKeys = Get-ChildItem -Path Registry::$regPath -Recurse | Where-Object Property -Ccontains DisplayName
|
||||
foreach ($key in $regKeys) {
|
||||
if ($key.getValue("DisplayName") -match $versionFilter) {
|
||||
Remove-Item -Path $key.PSParentPath -Recurse -Force -Verbose
|
||||
if (Test-Path -Path Registry::$regPath) {
|
||||
$regKeys = Get-ChildItem -Path Registry::$regPath -Recurse | Where-Object Property -Ccontains DisplayName
|
||||
foreach ($key in $regKeys) {
|
||||
if ($key.getValue("DisplayName") -match $versionFilter) {
|
||||
Remove-Item -Path $key.PSParentPath -Recurse -Force -Verbose
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$regPath = "HKEY_CLASSES_ROOT\Installer\Products"
|
||||
Get-ChildItem -Path Registry::$regPath | Where-Object { $_.GetValue("ProductName") -match $versionFilter } | ForEach-Object {
|
||||
Remove-Item Registry::$_ -Recurse -Force -Verbose
|
||||
if (Test-Path -Path Registry::$regPath) {
|
||||
Get-ChildItem -Path Registry::$regPath | Where-Object { $_.GetValue("ProductName") -match $versionFilter } | ForEach-Object {
|
||||
Remove-Item Registry::$_ -Recurse -Force -Verbose
|
||||
}
|
||||
}
|
||||
|
||||
$uninstallRegistrySections = @(
|
||||
|
||||
@@ -21,9 +21,14 @@ function Analyze-MissingModules([string] $buildOutputLocation) {
|
||||
$regexMatch = [regex]::match($SplitBuiltOutput, $Pattern)
|
||||
if ($regexMatch.Success)
|
||||
{
|
||||
$module = $regexMatch.Groups[1].Value.Trim()
|
||||
Write-Host "Failed missing modules:"
|
||||
Write-Host $regexMatch.Groups[1].Value
|
||||
return 1
|
||||
Write-Host $module
|
||||
if ( ($module -eq "_tkinter") -and ( ($Version -like "3.10.0-beta*") -or ($Version -like "3.10.0-alpha*") ) ) {
|
||||
Write-Host "$module $Version ignored"
|
||||
} else {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
return 0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user