Skip to content

Commit a4b27c6

Browse files
khancyrpeterbarker
authored andcommitted
Tools: build_ci: disable .profile check on github actions
1 parent 95a273e commit a4b27c6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tools/scripts/build_ci.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
XOLDPWD=$PWD # profile changes directory :-(
77

8-
. ~/.profile
8+
if [ -z "$GITHUB_ACTIONS" ] || [ "$GITHUB_ACTIONS" != "true" ]; then
9+
. ~/.profile
10+
fi
911

1012
if [ "$CI" = "true" ]; then
1113
export PIP_ROOT_USER_ACTION=ignore

0 commit comments

Comments
 (0)