mirror of
https://github.com/actions/python-versions.git
synced 2026-05-29 00:16:10 +08:00
Update RHEL platform handling in build workflow
This commit is contained in:
2
.github/workflows/build-python-packages.yml
vendored
2
.github/workflows/build-python-packages.yml
vendored
@@ -55,7 +55,7 @@ jobs:
|
||||
$arch = if ($parts[1]) {$parts[1]} else {"x64"}
|
||||
switch -wildcard ($os) {
|
||||
"*ubuntu*" { $platform = $os.Replace("ubuntu","linux"); if ($arch -eq "arm64" ) { $os = "${os}-arm" } }
|
||||
"*rhel*" { $platform = $os.Replace("rhel","rhel") }
|
||||
"*rhel*" { $platform = $os.Replace("rhel","rhel"); $os = $os.Replace("rhel","setup-actions-rhel") }
|
||||
"*macos*" { $platform = 'darwin' }
|
||||
"*windows*" { $platform = 'win32'; if ($arch -eq "arm64" ) { $os = "${os}-arm" } }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user