aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2026-03-09 17:28:34 +0300
committerA Farzat <a@farzat.xyz>2026-03-09 22:05:37 +0300
commit9a91d42aa504f5ee09532347570cfd37632a4c19 (patch)
tree2b5bcd99ec7f41222db6dbcfb6fbb3aa869ca181
parentc3a9d8c5497f144e313a3145e3f68b071dd799ab (diff)
downloadoreilly-epub-9a91d42aa504f5ee09532347570cfd37632a4c19.tar.gz
oreilly-epub-9a91d42aa504f5ee09532347570cfd37632a4c19.zip
Set CARGO_HOME in GitLab CI to inside project dir
This lets it know where to find and cache cargo files.
-rw-r--r--.gitlab-ci.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5609ac..340b46e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,9 @@ stages:
- test
- release
+variables:
+ CARGO_HOME: "$CI_PROJECT_DIR/.cargo"
+
default:
image: rust:1.93
cache: