Merge pull request #67 from actions/mac-urls

Set osx as the os name
This commit is contained in:
Stanley Goldman 2019-12-20 15:59:55 +01:00 committed by GitHub
commit d41fb1f9ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ jobs:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest]
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout
uses: actions/checkout@master

View File

@ -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