From 2b3ad2eb74cc78c89ef2b84ac57dcdcba810b62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Sat, 12 Aug 2023 13:08:51 +0200 Subject: [PATCH] ci, fix: single CARGO_HOME --- .woodpecker.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index d7faa2d..838f0ee 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -11,7 +11,7 @@ pipeline: image: albedo.lan:5000/rust-upend:latest pull: true environment: - CARGO_HOME: .cargo + CARGO_HOME: $CI_WORKSPACE/.cargo commands: - cp -vr /usr/local/cargo $CARGO_HOME @@ -19,7 +19,7 @@ pipeline: image: albedo.lan:5000/rust-upend:latest pull: true environment: - CARGO_HOME: .cargo + CARGO_HOME: $CI_WORKSPACE/.cargo commands: - rustc --version && cargo --version - task build:wasmlib @@ -31,7 +31,7 @@ pipeline: image: albedo.lan:5000/rust-upend:latest pull: true environment: - CARGO_HOME: .cargo + CARGO_HOME: $CI_WORKSPACE/.cargo commands: - rustc --version && cargo --version - task build:backend @@ -51,7 +51,7 @@ pipeline: image: albedo.lan:5000/rust-upend:latest pull: true environment: - CARGO_HOME: .cargo + CARGO_HOME: $CI_WORKSPACE/.cargo commands: - rustup component add clippy - task lint:backend @@ -106,7 +106,7 @@ pipeline: image: albedo.lan:5000/rust-upend:latest pull: true environment: - CARGO_HOME: .cargo + CARGO_HOME: $CI_WORKSPACE/.cargo commands: - task test:backend # volumes: