summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/Complement.Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Complement.Dockerfile b/tests/Complement.Dockerfile
index 306105a..0ef8f90 100644
--- a/tests/Complement.Dockerfile
+++ b/tests/Complement.Dockerfile
@@ -9,7 +9,7 @@ ARG SCCACHE_ENDPOINT
ARG SCCACHE_S3_USE_SSL
COPY . .
-RUN cargo build
+RUN test -e target/release/cond_test || cargo build --release --offline
FROM valkum/docker-rust-ci:latest
WORKDIR /workdir