Skip to content

Commit f4b70ce

Browse files
committed
try bailing on dev setup
1 parent 9723e53 commit f4b70ce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.evergreen/scripts/setup-dev-env.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ HERE="$( cd -- "$HERE" > /dev/null 2>&1 && pwd )"
77
ROOT=$(dirname "$(dirname $HERE)")
88
pushd $ROOT > /dev/null
99

10-
exit 0
10+
# Bail early if running on GitHub Actions.
11+
if [ -n "${GITHUB_ACTION:-}" ]; then
12+
exit 0
13+
fi
1114

1215
# Source the env files to pick up common variables.
1316
if [ -f $HERE/env.sh ]; then

0 commit comments

Comments
 (0)