mirror of
https://github.com/actions/python-versions.git
synced 2025-04-07 15:59:40 +00:00
Update platform for new version manifest generator (#29)
* Update build-python-packages.yml * update platforms * fix platform conditions * add clean up
This commit is contained in:
@ -56,11 +56,11 @@ function Get-PythonBuilder {
|
||||
)
|
||||
|
||||
$Platform = $Platform.ToLower()
|
||||
if ($Platform -match 'windows') {
|
||||
if ($Platform -match 'win32') {
|
||||
$builder = [WinPythonBuilder]::New($Version, $Architecture, $Platform)
|
||||
} elseif ($Platform -match 'ubuntu') {
|
||||
} elseif ($Platform -match 'linux') {
|
||||
$builder = [UbuntuPythonBuilder]::New($Version, $Architecture, $Platform)
|
||||
} elseif ($Platform -match 'macos') {
|
||||
} elseif ($Platform -match 'darwin') {
|
||||
$builder = [macOSPythonBuilder]::New($Version, $Architecture, $Platform)
|
||||
} else {
|
||||
Write-Host "##vso[task.logissue type=error;] Invalid platform: $Platform"
|
||||
|
Reference in New Issue
Block a user