mirror of
https://github.com/actions/versions-package-tools.git
synced 2025-12-13 13:16:52 +00:00
Update IsNixPlatform to handle "darwin" platform
This commit is contained in:
@@ -81,5 +81,5 @@ function IsNixPlatform {
|
|||||||
[String]$Platform
|
[String]$Platform
|
||||||
)
|
)
|
||||||
|
|
||||||
return ($Platform -match "macos") -or ($Platform -match "ubuntu") -or ($Platform -match "linux")
|
return ($Platform -match "macos") -or ($Platform -match "darwin") -or ($Platform -match "ubuntu") -or ($Platform -match "linux")
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user