name: generate-github-action-docs description: Runs or install github-action-autodocs inputs: action-file: description: Path to the action required: false runs: using: composite steps: - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - run: cargo install github-actions-autodocs shell: bash env: CARGO_TERM_COLOR: always - if: ${{ inputs.action-file }} shell: bash run: github-action-autodocs --file ${{ inputs.action-file }}