Skip to content

Commit 4bf7c16

Browse files
committed
add caches
1 parent 0a35f44 commit 4bf7c16

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.circleci/config.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414
sudo apt-get update
1515
sudo apt-get install openjdk-17-jdk
1616
17+
- restore_cache:
18+
keys:
19+
- my-cache
20+
1721
- run:
1822
name: Build with Gradle
1923
command: ./gradlew qa
@@ -30,4 +34,10 @@ workflows:
3034
version: 2
3135
build-workflow:
3236
jobs:
33-
- test
37+
- test:
38+
post-steps: # steps to run after steps defined in the job bar
39+
- save_cache:
40+
when: always
41+
key: my-cache
42+
paths:
43+
- .gradle/

0 commit comments

Comments
 (0)