Fix env deploy windows
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nyyu 2021-03-28 19:07:24 +02:00
parent 40a79905a0
commit c341827ec7

View file

@ -74,7 +74,7 @@ steps:
RUSTUP_HOME: c:/drone/rustup
- name: deploy
commands:
- curl.exe -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=1.0.0 -F maven2.asset1=@target/release/cggitem_sets.exe -F maven2.asset1.extension=exe -F maven2.asset1.classifier=msvc-x64
- curl.exe -u drone:$Env: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=1.0.0 -F maven2.asset1=@target/release/cggitem_sets.exe -F maven2.asset1.extension=exe -F maven2.asset1.classifier=msvc-x64
environment:
MVN_PWD:
from_secret: maven_password