15
15
PLATFORMS :
16
16
description : ' Platforms for execution in "os" or "os_arch" format (arch is "x64" by default)'
17
17
required : true
18
- default : ' ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,macos-13_x64 ,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64'
18
+ default : ' ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64, macos-12_x64 ,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64'
19
19
pull_request :
20
20
paths-ignore :
21
21
- ' versions-manifest.json'
39
39
- name : Generate execution matrix
40
40
id : generate-matrix
41
41
run : |
42
- [String[]]$configurations = "${{ inputs.platforms || 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,macos-13 ,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64' }}".Split(",").Trim()
42
+ [String[]]$configurations = "${{ inputs.platforms || 'ubuntu-20.04,ubuntu-22.04,ubuntu-22.04_arm64,ubuntu-24.04,ubuntu-24.04_arm64, macos-12 ,macos-14_arm64,windows-2019_x64,windows-2019_x86,windows-2019_arm64' }}".Split(",").Trim()
43
43
$matrix = @()
44
44
45
45
foreach ($configuration in $configurations) {
@@ -51,11 +51,17 @@ jobs:
51
51
"*macos*" { $platform = 'darwin' }
52
52
"*windows*" { $platform = 'win32' }
53
53
}
54
- if ($configuration -eq "ubuntu-22.04_arm64") {
54
+
55
+ if ($configuration -eq "ubuntu-22.04_arm64") {
55
56
$os = "setup-actions-ubuntu-arm64-2-core"
56
- }elseif ($configuration -eq "windows-2019_arm64") {
57
+ }
58
+ elseif ($configuration -eq "ubuntu-24.04_arm64") {
59
+ $os = "setup-actions-ubuntu24-arm64-2-core"
60
+ }
61
+ elseif ($configuration -eq "windows-2019_arm64") {
57
62
$os = "setup-actions-windows-arm64-4-core"
58
63
}
64
+
59
65
$matrix += @{
60
66
'platform' = $platform
61
67
'os' = $os
0 commit comments