Skip to content

Commit d41fb1f

Browse files
Merge pull request #67 from actions/mac-urls
Set osx as the os name
2 parents a874136 + dccf26c commit d41fb1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ${{ matrix.operating-system }}
77
strategy:
88
matrix:
9-
operating-system: [ubuntu-latest, windows-latest]
9+
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@master

externals/get-os-distro.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ get_current_os_name() {
113113

114114
local uname=$(uname)
115115
if [ "$uname" = "Darwin" ]; then
116-
echo "mac"
116+
echo "osx"
117117
return 0
118118
elif [ "$uname" = "Linux" ]; then
119119
local linux_platform_name
@@ -139,7 +139,7 @@ get_legacy_os_name() {
139139

140140
local uname=$(uname)
141141
if [ "$uname" = "Darwin" ]; then
142-
echo "mac"
142+
echo "osx"
143143
return 0
144144
else
145145
if [ -e /etc/os-release ]; then

0 commit comments

Comments
 (0)