From 8ba3ce8260e87602683c472ba6b3d2f4eb3e5673 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 6 Jul 2019 12:03:41 -0600 Subject: [PATCH] Do not install stable toolchain unless required --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 685ea6d..121885a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,12 +8,11 @@ cache: paths: - target/ -before_script: - rustup update stable - build:linux:stable: stage: build - script: cargo +stable build --verbose + script: + - rustup update stable + - cargo +stable build --verbose build:linux: stage: build