aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-03-14 15:42:19 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-03-14 15:42:19 +0000
commitc45428631e24c3133659b18c87ef1b164bec2413 (patch)
tree01e640c0f455391012284a83a985a5f517c3b520 /.circleci/config.yml
parenta2a2fc661a124654b695ec8a79063f431dcee036 (diff)
downloadGT5-Unofficial-c45428631e24c3133659b18c87ef1b164bec2413.tar.gz
GT5-Unofficial-c45428631e24c3133659b18c87ef1b164bec2413.tar.bz2
GT5-Unofficial-c45428631e24c3133659b18c87ef1b164bec2413.zip
% Changed Logic, so cache is checked after download of Resource Builder script.
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index b0b101acd7..345792b86b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -15,22 +15,22 @@ jobs:
- checkout
- run:
- name: Run build
+ name: Set Terminal
command: export TERM=${TERM:-dumb}
# && ./gradlew clean build
- run: sudo chmod +x gradlew
-
- - restore_cache:
- key: jars-{{ checksum "GTPP_BuildRepo.sh" }}-{{ checksum "GTPP_BuildRepo.sh" }}
-
+
# Build Forge and MCP
- run:
- name: Download Build Script
+ name: Download Resource Builder [MCP/Forge]
command: wget https://alkcorp.overminddl1.com/GTPP_BuildRepo.sh
-
+
+ - restore_cache:
+ key: jars-{{ checksum "GTPP_BuildRepo.sh" }}-{{ checksum "GTPP_BuildRepo.sh" }}
+
- run:
- name: Run Build Script
+ name: Run Resource Builder [MCP/Forge]
command: sh GTPP_BuildRepo.sh
# Cache All Libs
@@ -46,7 +46,7 @@ jobs:
command: wget https://alkcorp.overminddl1.com/GTPP_BuildScript.sh
- run:
- name: Run Build Script
+ name: Run "${CIRCLE_PROJECT_REPONAME}" Build Script
command: sh GTPP_BuildScript.sh ${CIRCLE_BUILD_NUM} "${CIRCLE_BRANCH}" "${CIRCLE_USERNAME}" "${CIRCLE_SHA1}" "${CIRCLE_PROJECT_REPONAME}" "${CIRCLE_PROJECT_USERNAME}" "https://github.com/draknyte1/GTplusplus/archive/master.zip"
- store_artifacts: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/