mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2025-01-10 02:17:33 +01:00
BuildTools cache
Travis Caches BuildTools folder.
This commit is contained in:
parent
22caa759b4
commit
e576e48fc4
@ -15,6 +15,7 @@ script:
|
|||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.m2
|
- $HOME/.m2
|
||||||
|
- BuildTools
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "Checking BuildTools cache"
|
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
|
#Local Maven Repo
|
||||||
MAVEN_DIR="$HOME/.m2"
|
MAVEN_DIR="$HOME/.m2"
|
||||||
|
|
||||||
@ -13,6 +10,8 @@ CRAFTBUKKIT="${MAVEN_DIR}/repository/org/bukkit/craftbukkit"
|
|||||||
#Versions
|
#Versions
|
||||||
array=("1.16.1" "1.15.2" "1.14.4")
|
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[@]}"
|
for i in "${array[@]}"
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user