v0.9.3 #30
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 | |
on: | |
release: | |
types: [published] | |
jobs: | |
publish: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
rust: [stable] | |
steps: | |
- uses: hecrj/setup-rust-action@v2 | |
with: | |
rust-version: ${{ matrix.rust }} | |
- uses: actions/checkout@main | |
- name: Login to crates.io | |
run: cargo login $CRATES_IO_TOKEN | |
env: | |
CRATES_IO_TOKEN: ${{ secrets.crates_io_token }} | |
- name: Dry run publish ractor | |
run: cargo publish --dry-run --manifest-path Cargo.toml -p ractor | |
- name: Publish crate ractor | |
run: cargo publish --manifest-path Cargo.toml -p ractor | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }} | |
- name: Dry run publish ractor_cluster_derive | |
run: cargo publish --dry-run --manifest-path Cargo.toml -p ractor_cluster_derive | |
- name: Publish ractor_cluster_derive | |
run: cargo publish --manifest-path Cargo.toml -p ractor_cluster_derive | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }} | |
- name: Wait for necessary ractor version to be available | |
run: bash ./.github/workflows/wait_for_crate_dependency.sh ractor_cluster ractor | |
- name: Wait for necessary ractor version to be available | |
run: bash ./.github/workflows/wait_for_crate_dependency.sh ractor_cluster ractor_cluster_derive | |
- name: Dry run publish ractor_cluster | |
run: cargo publish --dry-run --manifest-path Cargo.toml -p ractor_cluster | |
- name: Publish ractor_cluster | |
run: cargo publish --manifest-path Cargo.toml -p ractor_cluster | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.crates_io_token }} | |