starship/ci/cargo-publish.yml

16 lines
335 B
YAML
Raw Normal View History

2019-08-01 01:27:35 +02:00
parameters:
rust_version: stable
jobs:
- job: ${{ parameters.name }}
displayName: ${{ parameters.displayName }}
pool:
vmImage: ubuntu-16.04
steps:
- template: install-rust.yml
- script: |
cargo login $(CARGO_TOKEN)
cargo publish
displayName: Publish package to Crates.io