name: Publish to crates.io on: workflow_call: inputs: plan: required: true type: string jobs: publish: runs-on: ubuntu-latest env: PLAN: ${{ inputs.plan }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: dtolnay/rust-toolchain@stable - run: cargo publish