Use an explicit list of supported platforms for nicer error messages

This commit is contained in:
Benoit Daloze
2022-05-15 12:21:30 +02:00
parent e92b7971f0
commit 296bf7f67a
5 changed files with 37 additions and 2 deletions
+9
View File
@@ -98,6 +98,15 @@ function getImageOS() {
return imageOS
}
export const supportedPlatforms = [
'ubuntu-18.04',
'ubuntu-20.04',
'macos-10.15',
'macos-11.0',
'windows-2019',
'windows-2022',
]
export function getVirtualEnvironmentName() {
const imageOS = getImageOS()