fix(ci): with build workspace instead
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
bf9641b7a2
commit
2072ffe507
@ -331,7 +331,7 @@ pub async fn base_rust_image(
|
|||||||
.with_exec(vec!["apt", "install", "-y", "jq"]);
|
.with_exec(vec!["apt", "install", "-y", "jq"]);
|
||||||
|
|
||||||
let target_cache = client.cache_volume(format!("rust_target_{}", profile));
|
let target_cache = client.cache_volume(format!("rust_target_{}", profile));
|
||||||
let mut build_options = vec!["cargo", "build", "--target", rust_target];
|
let mut build_options = vec!["cargo", "build", "--target", rust_target, "--workspace"];
|
||||||
|
|
||||||
if profile == "release" {
|
if profile == "release" {
|
||||||
build_options.push("--release");
|
build_options.push("--release");
|
||||||
|
Loading…
Reference in New Issue
Block a user