mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-04 04:25:45 +00:00
build: Upload release binary on tag
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
5ae3144f5b
commit
1f6f52249e
@ -12,3 +12,12 @@ script:
|
|||||||
- cargo test
|
- cargo test
|
||||||
- cargo clippy --all-targets --all-features -- -D warnings
|
- cargo clippy --all-targets --all-features -- -D warnings
|
||||||
- find . -name "*.rs" | grep -v "vendor/" | xargs rustfmt --check
|
- find . -name "*.rs" | grep -v "vendor/" | xargs rustfmt --check
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
provider: releases
|
||||||
|
api_key: $GITHUB_OAUTH_TOKEN
|
||||||
|
file: target/release/cloud-hypervisor
|
||||||
|
skip_cleanup: true
|
||||||
|
draft: true
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
Loading…
Reference in New Issue
Block a user