From 59ff015aa550dd553771a5b767c9cb173502142d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 7 Nov 2023 12:29:39 +0000 Subject: CI: Cache the built copy of mdbook This should make the CI complete in seconds rather than ~ a minute. --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f01e598..1b82c3c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,7 @@ variables: build: image: rust:bookworm script: - - cargo install mdbook + - ./bin/via-cargo-install-in-ci mdbook - apt-get update && apt-get install -y git python3 python3-yaml - ./bin/check_index - ./bin/build_html @@ -13,6 +13,9 @@ build: artifacts: paths: - public + cache: + paths: + - cache include: project: tpo/tpa/ci-templates -- cgit v1.2.3-54-g00ecf