reba-client 0.1.0

Reba client
Documentation
name: Crates CI

# runs on release publish
on:
  release:
    types: [published]

jobs: # jobs to run
  publish: # name of the job
    runs-on: ubuntu-latest # default ubuntu runner for GH actions
    steps:
      # clones repo to the action
      - uses: actions/checkout@v2
      # installs the proper rust toolchain
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: nightly # need nightly for our package
          override: true # override the default toolchain
      # builds and publishes the crate
      - uses: katyo/publish-crates@v1
        with:
          # secret registry token stored in the repo settings
          registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}