starship/ci/cargo-publish.yml
2019-08-05 11:05:08 -04:00

16 lines
335 B
YAML

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