kadmin 0.7.2

Rust bindings for the Kerberos administration interface (kadm5)
Documentation
---
name: Create release

on:
  pull_request:
    types:
      - closed
    branches:
      - main

jobs:
  release-info:
    if: github.event.pull_request.merged
    outputs:
      is-release: ${{ steps.meta.outputs.is-release }}
      package: ${{ steps.meta.outputs.crates-names }}
      version: ${{ steps.meta.outputs.version-actual }}
    runs-on: ubuntu-latest
    steps:
      - id: meta
        uses: cargo-bins/release-meta@878b404d09251e067413b4974a2f23c668fd664e # v1
        with:
          event-data: ${{ toJSON(github.event) }}

  release-create:
    needs:
      - release-info
    if: needs.release-info.outputs.is-release == 'true'
    permissions:
      contents: write
    runs-on: ubuntu-latest
    steps:
      - uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
        with:
          name: "${{ needs.release-info.outputs.package }} ${{ needs.release-info.outputs.version }}"
          tag_name: "${{ needs.release-info.outputs.package }}/version/${{ needs.release-info.outputs.version }}"
          target_commitish: "${{ github.sha }}"
          draft: true
          make_latest: true