From 252ed015c3f293bb39c1aded34b53c1cd60f981c Mon Sep 17 00:00:00 2001 From: nyyu Date: Sun, 28 Mar 2021 18:05:11 +0200 Subject: [PATCH] test fix env --- .drone.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.drone.yml b/.drone.yml index 6affc4c..bd9cf40 100644 --- a/.drone.yml +++ b/.drone.yml @@ -69,6 +69,9 @@ steps: - cargo test - cargo clippy - cargo build --release + environment: + CARGO_HOME: c:/drone/cargo + RUSTUP_HOME: c:/drone/rustup - name: deploy commands: - curl -u drone:$MVN_PWD -X POST 'https://nexus.nyyu.dev/service/rest/v1/components?repository=maven-releases' -F maven2.groupId=dev.nyyu -F maven2.artifactId=cggitem_sets -F maven2.version=$(awk -F ' = ' '$1 ~ /version/ { gsub(/["]/, "", $2); printf("%s",$2) }' Cargo.toml)-$(date +%Y%m%d%H%M%S)-msvc -F maven2.asset1=@target/release/cggitem_sets -F maven2.asset1.extension=exec