Skip to content

Commit

Permalink
fix(ci): add java and maven in release script (#8904)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjw806 authored Mar 31, 2023
1 parent ed462f8 commit c02ae2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ci/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ if [ "${BUILDKITE_SOURCE}" != "schedule" ] && [ "${BUILDKITE_SOURCE}" != "webhoo
exit 0
fi

echo "--- Install java and maven"
yum install -y java-11-openjdk wget
wget https://dlcdn.apache.org/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.tar.gz && tar -zxvf apache-maven-3.9.1-bin.tar.gz
export PATH="${REPO_ROOT}/apache-maven-3.9.1/bin:$PATH"
mvn -v

echo "--- Install rust"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain $(cat ./rust-toolchain) -y
source "$HOME/.cargo/env"
Expand Down

0 comments on commit c02ae2c

Please sign in to comment.