0.7.21 #197
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish-crates | |
on: | |
release: | |
types: [published] | |
workflow_dispatch: | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.DIVVIUP_GITHUB_AUTOMATION_CRATES_IO_API_TOKEN }} | |
jobs: | |
crate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- name: "Publish janus_messages" | |
run: cargo publish --package janus_messages | |
- name: "Publish janus_core" | |
run: cargo publish --package janus_core | |
- name: "Publish janus_client" | |
run: cargo publish --package janus_client | |
- name: "Publish janus_collector" | |
run: cargo publish --package janus_collector |