This commit is contained in:
parent
bdfa26ec84
commit
fdb6f6a121
1 changed files with 26 additions and 26 deletions
52
.drone.yml
52
.drone.yml
|
@ -52,31 +52,31 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
---
|
#---
|
||||||
kind: pipeline
|
#kind: pipeline
|
||||||
type: exec
|
#type: exec
|
||||||
name: windows-msvc
|
#name: windows-msvc
|
||||||
|
|
||||||
platform:
|
#platform:
|
||||||
os: windows
|
# os: windows
|
||||||
arch: amd64
|
# arch: amd64
|
||||||
|
|
||||||
steps:
|
#steps:
|
||||||
- name: build
|
#- name: build
|
||||||
commands:
|
# commands:
|
||||||
- rustup update
|
# - rustup update
|
||||||
- cargo test
|
# - cargo test
|
||||||
- cargo clippy
|
# - cargo clippy
|
||||||
- cargo build --release
|
# - cargo build --release
|
||||||
environment:
|
# environment:
|
||||||
CARGO_HOME: c:/drone/cargo
|
# CARGO_HOME: c:/drone/cargo
|
||||||
RUSTUP_HOME: c:/drone/rustup
|
# RUSTUP_HOME: c:/drone/rustup
|
||||||
- name: deploy
|
#- name: deploy
|
||||||
commands:
|
# commands:
|
||||||
- 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
|
# - 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:
|
# environment:
|
||||||
MVN_PWD:
|
# MVN_PWD:
|
||||||
from_secret: maven_password
|
# from_secret: maven_password
|
||||||
when:
|
# when:
|
||||||
target:
|
# branch:
|
||||||
- windows-msvc
|
# - master
|
||||||
|
|
Loading…
Add table
Reference in a new issue