Skip to content

Commit 21deece

Browse files
committed
use regex
1 parent c64f02e commit 21deece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/posix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
version=$(cd OpenBLAS && git describe --tags --abbrev=8 | sed -e "s/^v\(.*\)-g.*/\1/" | sed -e "s/-/./g")
133133
sed -e "s/^version = .*/version = \"${version}\"/" -i.bak pyproject.toml
134134
fi
135-
if [ "macos-latest" == "${{ matrix.os }}" ]; then
135+
if [[ "${{ matrix.os }}" =~ "macos" ]]; then
136136
source tools/build_wheel.sh
137137
else
138138
libc=${MB_ML_LIBC:-manylinux}

0 commit comments

Comments
 (0)