Add support for macos-13-arm64 GitHub runners

This commit is contained in:
Benoit Daloze
2023-10-11 18:58:56 +02:00
parent f887fb3d0e
commit 5cfe23c062
5 changed files with 34 additions and 9 deletions
+2 -1
View File
@@ -168,6 +168,7 @@ const GitHubHostedPlatforms = [
'macos-11-x64',
'macos-12-x64',
'macos-13-x64',
'macos-13-arm64',
'windows-2019-x64',
'windows-2022-x64',
]
@@ -243,7 +244,7 @@ export function getToolCachePath() {
return getRunnerToolCache()
} else {
// Rubies prebuilt by this action embed this path rather than using $RUNNER_TOOL_CACHE
// so use that path is not isSelfHostedRunner()
// so use that path if not isSelfHostedRunner()
return getDefaultToolCachePath()
}
}