tropy 0.1.3

Entropy viewer for the command line
Documentation
name: Build and upload binaries to github
# based on this blogpost by mateus costa https://mateuscosta.me/rust-releases-with-github-actions
# and https://github.com/svenstaro/upload-release-action documentation

# trigger on any new tag
on:
  push:
    tags:
    - "*"

jobs:
  release:
    name: Build and Release
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        include:
          - os: ubuntu-latest
            artifact_name: tropy
            asset_name: tropy-linux-amd64
          - os: macos-latest
            artifact_name: tropy
            asset_name: tropy-macos-amd64
          - os: windows-latest
            artifact_name: tropy.exe
            asset_name: tropy-windows-amd64.exe
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Build project
        run: cargo build --release
      - name: Upload binary to release
        uses: svenstaro/upload-release-action@v1-release
        with:
          repo_token: ${{ secrets.GITHUB_TOKEN }}
          file: target/release/${{ matrix.artifact_name }}
          asset_name: ${{ matrix.asset_name }}
          tag: ${{ github.ref }}
          overwrite: true