mirror of
https://github.com/actions/setup-dotnet.git
synced 2024-11-22 11:31:07 +07:00
Set osx as the os name
This commit is contained in:
parent
e322cead28
commit
8886b529ee
4
externals/get-os-distro.sh
vendored
4
externals/get-os-distro.sh
vendored
@ -113,7 +113,7 @@ get_current_os_name() {
|
||||
|
||||
local uname=$(uname)
|
||||
if [ "$uname" = "Darwin" ]; then
|
||||
echo "mac"
|
||||
echo "osx"
|
||||
return 0
|
||||
elif [ "$uname" = "Linux" ]; then
|
||||
local linux_platform_name
|
||||
@ -139,7 +139,7 @@ get_legacy_os_name() {
|
||||
|
||||
local uname=$(uname)
|
||||
if [ "$uname" = "Darwin" ]; then
|
||||
echo "mac"
|
||||
echo "osx"
|
||||
return 0
|
||||
else
|
||||
if [ -e /etc/os-release ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user