From 7f541a02e6b980948da201b7df30feafc6d004b4 Mon Sep 17 00:00:00 2001 From: yushijinhun Date: Sun, 9 Dec 2018 13:18:31 +0800 Subject: [PATCH] update circleci buildscript --- .circleci/config.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 712c0e6..985dd8d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,11 +1,9 @@ version: 2 -general: - branches: - only: - - master - jobs: build: + branches: + only: + - master docker: - image: circleci/openjdk:8-jdk working_directory: ~/authlib-injector @@ -16,7 +14,7 @@ jobs: - checkout - restore_cache: keys: - - v1-cache + - v1-cache - run: 'git clone --single-branch --branch=toolchain --depth=1 git@github.com:yushijinhun/authlib-injector.yushi.moe ~/tools' - run: 'echo $(( $(~/tools/get-latest-build-number.sh) + 1 )) > ~/build_number && echo "Build Number: $(<~/build_number)"' - run: '~/tools/authlib-injector-deploy.sh --local-repo ~/authlib-injector.yushi.moe update-local-repo'