Skip to content

Release 0.6.59

Release 0.6.59 #88

Workflow file for this run

name: Publish workspace crates
on:
workflow_dispatch: {}
push:
paths:
- "**/Cargo.toml"
- "rust-toolchain.toml"
- ".github/workflows/publish.yml"
tags:
- "v*"
pull_request:
paths:
- "**/Cargo.toml"
- "rust-toolchain.toml"
- ".github/workflows/publish.yml"
permissions:
contents: read
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Install pinned Rust toolchain
run: rustc --version --verbose
- uses: Swatinem/rust-cache@65012b490220f477f20ab979e35ae732e6de4e68
- name: Verify workspace packaging
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: cargo publish --dry-run --workspace --no-default-features --features rustls
- name: Publish workspace
if: ${{ startsWith(github.ref, 'refs/tags/v') && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }}
run: cargo publish --verbose --workspace --no-default-features --features rustls