Skip to content

Commit

Permalink
MacOS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yongtang committed Nov 7, 2023
1 parent eec833d commit a8dc047
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,13 @@ bazel build \

rm -rf build && mkdir -p build

if [[ $(uname) == "Linux" ]]; then
cp -r -L bazel-bin/tensorflow_io build/tensorflow_io
cp -r -L bazel-bin/tensorflow_io_gcs_filesystem build/tensorflow_io_gcs_filesystem
else
cp -r bazel-bin/tensorflow_io build/tensorflow_io
cp -r bazel-bin/tensorflow_io_gcs_filesystem build/tensorflow_io_gcs_filesystem
fi

echo chown -R $(id -nu):$(id -ng) build/tensorflow_io/
echo chown -R $(id -nu):$(id -ng) build/tensorflow_io_gcs_filesystem/
Expand Down

0 comments on commit a8dc047

Please sign in to comment.