File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 17
17
steps :
18
18
- uses : actions/checkout@v4
19
19
20
+ - name : Restore Neo4j Image Cache if it exists
21
+ id : cache-neo4j-neo4j
22
+ uses : actions/cache@v4
23
+ with :
24
+ path : ci/cache/docker/neo4j
25
+ key : cache-docker-neo4j-5-enterprise
26
+
27
+ - name : Update Neo4j Image Cache if cache miss
28
+ if : steps.cache-docker-neo4j.outputs.cache-hit != 'true'
29
+ run : |
30
+ docker pull neo4j:5-enterprise
31
+ mkdir -p ci/cache/docker/neo4j
32
+ docker image save neo4j:5-enterprise --output ./ci/cache/docker/neo4j/neo4j-5-enterprise.tar
33
+
34
+ - name : Use Neo4j Image Cache if cache hit
35
+ if : steps.cache-docker-neo4j.outputs.cache-hit == 'true'
36
+ run : docker image load --input ./ci/cache/docker/neo4j/neo4j-5-enterprise.tar
37
+
20
38
- name : Set up Docker Buildx
21
39
uses : docker/setup-buildx-action@v2
22
40
You can’t perform that action at this time.
0 commit comments