Drone caching (#2655)

Co-authored-by: Klemens Morgenstern <klemens.d.morgenstern@gmail.com>
This commit is contained in:
Sam Darwin
2023-08-18 15:23:02 +08:00
committed by GitHub
co-authored by Klemens Morgenstern
parent ba25a117a7
commit 668dcf51c1
3 changed files with 258 additions and 131 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ set -eu
# it is the name of the branch targeted by the pull request (in many cases this
# will be master).
MAIN_BRANCH="0"
if [[ $TRAVIS_BRANCH == "master" || $TRAVIS_BRANCH == "develop" ]]; then
if [[ $DRONE_BRANCH == "master" || $DRONE_BRANCH == "develop" ]]; then
MAIN_BRANCH="1"
fi