mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 23:09:40 +00:00
Fix condition
This commit is contained in:
@ -24,7 +24,7 @@ function Analyze-MissingModules([string] $buildOutputLocation) {
|
|||||||
$module = $regexMatch.Groups[1].Value.Trim()
|
$module = $regexMatch.Groups[1].Value.Trim()
|
||||||
Write-Host "Failed missing modules:"
|
Write-Host "Failed missing modules:"
|
||||||
Write-Host $module
|
Write-Host $module
|
||||||
if ( ($module -eq "_tkinter") -and ( $Version.StartsWith("3.10.0") -and ( ($Version -like "*beta*") -or ($Version -like "*alpha*") ) ) ) {
|
if ( ($module -eq "_tkinter") -and ( ($Version -like "3.10.0-beta*") -or ($Version -like "3.10.0-alpha*") ) ) {
|
||||||
Write-Host "$module $Version ignored"
|
Write-Host "$module $Version ignored"
|
||||||
} else {
|
} else {
|
||||||
return 1
|
return 1
|
||||||
|
Reference in New Issue
Block a user