mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2025-01-09 18:07:34 +01:00
BuildTools cache
Travis Caches BuildTools folder.
This commit is contained in:
parent
22caa759b4
commit
e576e48fc4
@ -15,6 +15,7 @@ script:
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.m2
|
||||
- BuildTools
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
|
@ -1,9 +1,6 @@
|
||||
#!/bin/sh
|
||||
echo "Checking BuildTools cache"
|
||||
|
||||
#Download BuildTools jar
|
||||
curl -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
|
||||
|
||||
#Local Maven Repo
|
||||
MAVEN_DIR="$HOME/.m2"
|
||||
|
||||
@ -13,6 +10,8 @@ CRAFTBUKKIT="${MAVEN_DIR}/repository/org/bukkit/craftbukkit"
|
||||
#Versions
|
||||
array=("1.16.1" "1.15.2" "1.14.4")
|
||||
|
||||
#Download BuildTools jar
|
||||
curl -s -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
|
||||
|
||||
for i in "${array[@]}"
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user