Skip to content

Commit d32b6ee

Browse files
mhuckapavoljuhas
andauthored
Update .github/actions/set-up-bazel/action.yaml
Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com>
1 parent 5d6dc93 commit d32b6ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/set-up-bazel/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ runs:
4646
if [[ -n "${{inputs.bazel-version}}" ]]; then
4747
version="${{inputs.bazel-version}}"
4848
elif [[ -f ".bazelversion" ]]; then
49-
version="$(cat .bazelversion | tr -d ' \n\r')"
49+
version="$(tr -d ' \n\r' <.bazelversion)"
5050
else
5151
echo "::error::Bazel version has not been specified."
5252
exit 1

0 commit comments

Comments
 (0)