Skip to content

Commit

Permalink
Merge pull request #67 from actions/mac-urls
Browse files Browse the repository at this point in the history
Set osx as the os name
  • Loading branch information
StanleyGoldman authored Dec 20, 2019
2 parents a874136 + dccf26c commit d41fb1f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions externals/get-os-distro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d41fb1f

Please sign in to comment.