st-cli 0.6.4

Dev Super Tools! auto format、 lint and more
Documentation
#
# modify the bin name ${{ BIN_NAME }}
#
name: Release Build

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ macos-latest, windows-2019, ubuntu-latest ]
    steps:
      - uses: actions/checkout@v2
      - name: Rust Version
        run: rustc --version
      - name: Build
        run: cargo build --release --verbose

      # upload unix
      - uses: actions/upload-artifact@v2
        if: strategy.os != 'windows-latest'
        with:
          name: ${{ matrix.os }}
          path: target/release/st

      # upload windows
      - uses: actions/upload-artifact@v2
        if: strategy.os == 'windows-2019'
        with:
          name: ${{ matrix.os }}
          path: target/release/st.exe