test fix env
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
nyyu 2021-03-28 18:05:11 +02:00
parent 8295d57e5c
commit 252ed015c3

View file

@ -69,6 +69,9 @@ steps:
- cargo test - cargo test
- cargo clippy - cargo clippy
- cargo build --release - cargo build --release
environment:
CARGO_HOME: c:/drone/cargo
RUSTUP_HOME: c:/drone/rustup
- name: deploy - name: deploy
commands: 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 - 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