starship/ci/cargo-publish.yml

16 lines
335 B
YAML
Raw Normal View History

2019-07-31 23:27:35 +00: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