obsidian-export/.github/workflows/publish-crate.yml
2024-06-23 15:08:59 +02:00

20 lines
425 B
YAML

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