mirror of
https://github.com/actions/python-versions.git
synced 2025-04-06 15:29:39 +00:00
Minor corrections according to comments
This commit is contained in:
2
.github/workflows/python-builder.yml
vendored
2
.github/workflows/python-builder.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
|||||||
foreach ($configuration in $configurations) {
|
foreach ($configuration in $configurations) {
|
||||||
$parts = $configuration.Split("_")
|
$parts = $configuration.Split("_")
|
||||||
$os = $parts[0]
|
$os = $parts[0]
|
||||||
$arch = $(if ($parts[1]) {$parts[1]} else {"x64"})
|
$arch = if ($parts[1]) {$parts[1]} else {"x64"}
|
||||||
switch -wildcard ($os) {
|
switch -wildcard ($os) {
|
||||||
"*ubuntu*" { $platform = $os.Replace("ubuntu","linux")}
|
"*ubuntu*" { $platform = $os.Replace("ubuntu","linux")}
|
||||||
"*macos*" { $platform = 'darwin' }
|
"*macos*" { $platform = 'darwin' }
|
||||||
|
Reference in New Issue
Block a user