Skip to content

Commit c02ae2c

Browse files
authored
fix(ci): add java and maven in release script (#8904)
1 parent ed462f8 commit c02ae2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci/scripts/release.sh

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ if [ "${BUILDKITE_SOURCE}" != "schedule" ] && [ "${BUILDKITE_SOURCE}" != "webhoo
1010
exit 0
1111
fi
1212

13+
echo "--- Install java and maven"
14+
yum install -y java-11-openjdk wget
15+
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
16+
export PATH="${REPO_ROOT}/apache-maven-3.9.1/bin:$PATH"
17+
mvn -v
18+
1319
echo "--- Install rust"
1420
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --no-modify-path --default-toolchain $(cat ./rust-toolchain) -y
1521
source "$HOME/.cargo/env"

0 commit comments

Comments
 (0)