Skip to content

Commit ad4c0ca

Browse files
fix install-zig for mac
Signed-off-by: James Xin <[email protected]>
1 parent b4071d1 commit ad4c0ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/install-zig/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ runs:
66
- name: Install zig
77
shell: bash
88
run: |
9-
if [[ `cat /etc/os-release | grep "Amazon Linux"` ]]; then
9+
if [[ "$OSTYPE" == "darwin"* ]]; then
10+
echo "macOS detected, pip3 already available"
11+
elif [[ `cat /etc/os-release | grep "Amazon Linux"` ]]; then
1012
yum install -y python3-pip
1113
else
1214
sudo apt install -y python3-pip

0 commit comments

Comments
 (0)