未验证 提交 c51b4438 编写于 作者: B Bogdan Kobylynskyi 提交者: GitHub

Fix CI config (#76)

上级 85ad3589
......@@ -11,20 +11,14 @@ jobs:
working_directory: ~/repo
steps:
- checkout
- run:
name: Generate cache key
command: date +%Y-%m > .circle-cache-key
- restore_cache:
keys:
- deps-{{checksum ".circle-cache-key"}}
- run:
name: Build and run unit tests
command: gradle build
command: gradle build publishToMavenLocal
- save_cache:
paths:
- ~/.gradle
- ~/.m2
key: deps-{{checksum ".circle-cache-key"}}
key: deps-{{ .Revision }}
- run:
name: Generate Code Coverage Report
command: gradle codeCoverageReport
......@@ -41,20 +35,12 @@ jobs:
working_directory: ~/repo
steps:
- checkout
- run:
name: Generate cache key
command: date +%Y-%m > .circle-cache-key
- restore_cache:
keys:
- deps-{{checksum ".circle-cache-key"}}
- deps-{{ .Revision }}
- run:
name: Load all dependencies
command: cd ~/repo/plugins/maven/graphql-java-codegen-maven-plugin && mvn dependency:go-offline
- save_cache:
paths:
- ~/.gradle
- ~/.m2
key: deps-{{checksum ".circle-cache-key"}}
- run:
name: Build library
command: cd ~/repo && gradle publishToMavenLocal -x test
......@@ -78,20 +64,12 @@ jobs:
working_directory: ~/repo
steps:
- checkout
- run:
name: Generate cache key
command: date +%Y-%m > .circle-cache-key
- restore_cache:
keys:
- deps-{{checksum ".circle-cache-key"}}
- deps-{{ .Revision }}
- run:
name: Load all dependencies
command: cd ~/repo/plugins/gradle/graphql-java-codegen-gradle-plugin && gradle dependencies
- save_cache:
paths:
- ~/.gradle
- ~/.m2
key: deps-{{checksum ".circle-cache-key"}}
- run:
name: Build library
command: cd ~/repo && gradle publishToMavenLocal -x test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册