[go: up one dir, main page]

git2 0.18.3

Bindings to libgit2 for interoperating with git repositories. This library is both threadsafe and memory safe and allows both reading and writing git repositories.
Documentation
name: Publish
on:
  workflow_dispatch:
    inputs:
      git2:
        description: "Publish git2"
        type: boolean
        default: true
      git2_curl:
        description: "Publish git2-curl"
        type: boolean
        default: true
      libgit2_sys:
        description: "Publish libgit2-sys"
        type: boolean
        default: true

permissions:
  contents: write

jobs:
  publish:
    name: Publish to crates.io
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
        with:
          submodules: true
      - name: Publish
        env:
          CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
          PUBLISH_GIT2: ${{ inputs.git2 }}
          PUBLISH_GIT2_CURL: ${{ inputs.git2_curl }}
          PUBLISH_LIBGIT2_SYS: ${{ inputs.libgit2_sys }}
        run: ./ci/publish.sh