glint 6.3.4

a friendly tool for creating commits in the commitlint style
Documentation
# Usage:
# git tag -a vX.X.X
# git push --tagsA
#
# Source: https://daniellockyer.com/automated-rust-releases/

name: Release

on:
  push:
    tags:
      - "v*"

jobs:
  publish:
    name: Publish for ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        name: [linux, windows, macos]

        include:
          - name: linux
            os: ubuntu-latest
            artifact_name: glint
            asset_name: glint-linux
          - name: windows
            os: windows-latest
            artifact_name: glint.exe
            asset_name: glint-windows
          - name: macos
            os: macos-latest
            artifact_name: glint
            asset_name: glint-macos

    steps:
      - uses: actions/checkout@v1

      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable

      - name: Build
        run: cargo build --release --locked

      - name: Upload binaries 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 }}