File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -54,18 +54,12 @@ jobs:
54
54
$os = $parts[0]
55
55
$arch = if ($parts[1]) {$parts[1]} else {"x64"}
56
56
switch -wildcard ($os) {
57
- "*ubuntu*" { $platform = $os.Replace("ubuntu","linux")}
57
+ "*ubuntu*" { $platform = $os.Replace("ubuntu","linux"); if ($arch -eq "arm64" ) { $os = "${os}-arm" } }
58
58
"*macos*" { $platform = 'darwin' }
59
59
"*windows*" { $platform = 'win32' }
60
60
}
61
61
62
- if ($configuration -eq "ubuntu-22.04_arm64") {
63
- $os = "setup-actions-ubuntu-arm64-2-core"
64
- }
65
- elseif ($configuration -eq "ubuntu-24.04_arm64") {
66
- $os = "setup-actions-ubuntu24-arm64-2-core"
67
- }
68
- elseif ($configuration -eq "windows-2019_arm64") {
62
+ if ($configuration -eq "windows-2019_arm64") {
69
63
$os = "setup-actions-windows-arm64-4-core"
70
64
}
71
65
You can’t perform that action at this time.
0 commit comments