mirror of
https://github.com/actions/python-versions.git
synced 2025-04-05 06:49: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) {
|
||||
$parts = $configuration.Split("_")
|
||||
$os = $parts[0]
|
||||
$arch = $(if ($parts[1]) {$parts[1]} else {"x64"})
|
||||
$arch = if ($parts[1]) {$parts[1]} else {"x64"}
|
||||
switch -wildcard ($os) {
|
||||
"*ubuntu*" { $platform = $os.Replace("ubuntu","linux")}
|
||||
"*macos*" { $platform = 'darwin' }
|
||||
|
Reference in New Issue
Block a user