mempool_rust 0.1.1

A Rust library for the Mempool bitcoin API
Documentation
name: Release

on:
  push:
    tags:
      - "*"

jobs:
  checks:
    uses: ./.github/workflows/checks.yml
    secrets: inherit

  publish:
    name: Publish
    runs-on: ubuntu-latest
    needs:
      - checks
    steps:
      - name: Checkout sources
        uses: actions/checkout@v2

      - name: Install stable toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true

      - run: cargo publish --token ${CRATES_TOKEN}
        env:
          CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}