tecdh 0.2.0

Threshold elliptic-curve Diffie-Hellman key exchange
Documentation
on:
  push:
    tags:
      - 'v*'
  workflow_dispatch:

name: Publish

env:
  CARGO_TERM_COLOR: always
  CARGO_NET_GIT_FETCH_WITH_CLI: true

jobs:
  publish-tecdh:
    name: Publish tecdh
    environment: crates.io
    runs-on: ubuntu-latest
    if: >-
      github.ref_type == 'tag'
      && startsWith(github.ref_name, 'v')
    steps:
    - uses: actions/checkout@v3
    - run: cargo publish --package tecdh
      env:
        CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }}