Skip to content

Commit

Permalink
github ci fix go install
Browse files Browse the repository at this point in the history
  • Loading branch information
d99kris committed May 11, 2024
1 parent 4faef72 commit 6aec31c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,7 @@ if [[ "${DEPS}" == "1" ]]; then
fi
elif [ "${OS}" == "Darwin" ]; then
if command -v brew &> /dev/null; then
GOPKG="go"
if [[ "${GITHUB_ACTIONS}" == "true" ]]; then
GOPKG="" # skip go in github actions
fi
HOMEBREW_NO_AUTO_UPDATE=1 brew install ${GOPKG} gperf cmake openssl ncurses ccache readline sqlite libmagic || exiterr "deps failed (${OS} brew), exiting."
HOMEBREW_NO_INSTALL_UPGRADE=1 HOMEBREW_NO_AUTO_UPDATE=1 brew install go gperf cmake openssl ncurses ccache readline sqlite libmagic || exiterr "deps failed (${OS} brew), exiting."
elif command -v port &> /dev/null; then
sudo port -N install go gperf cmake openssl ncurses ccache readline sqlite3 libmagic || exiterr "deps failed (${OS} port), exiting."
else
Expand Down

0 comments on commit 6aec31c

Please sign in to comment.