Skip to content

Commit

Permalink
Prevent failure if cache is empty (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-nv authored Nov 18, 2024
1 parent 9502102 commit f8c130b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ fi
# Install jdk and maven
mkdir -p ${BUILD_HOME}
cd ${BUILD_HOME}
apt remove maven -y && apt autoremove -y
apt update && apt install -y openjdk-11-jdk
apt update && apt remove maven -y && apt autoremove -y && apt install -y openjdk-11-jdk
wget https://archive.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz
tar zxvf apache-maven-${MAVEN_VERSION}-bin.tar.gz
export PATH=$PATH:$PWD/apache-maven-${MAVEN_VERSION}/bin/
Expand Down

0 comments on commit f8c130b

Please sign in to comment.