.github/main.workflow.sh: get latest homebrew-core (#38467)

This commit is contained in:
Mike McQuaid 2019-03-28 21:20:44 +00:00 committed by GitHub
parent 30a4e37629
commit 13da06ef33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,11 @@ mkdir -p "$CORE_DIR"
rm -rf "$CORE_DIR"
ln -s "$PWD" "$CORE_DIR"
# get latest Homebrew/homebrew-core
git -C "$CORE_DIR" fetch
git -C "$CORE_DIR" checkout -f master
git -C "$CORE_DIR" reset --hard origin/master
# setup Homebrew environment
export HOMEBREW_NO_AUTO_UPDATE=1
export HOMEBREW_NO_ANALYTICS=1