getquotes 0.7.0

A simple cli tool to get quotes in your terminal using WikiQuotes
name: 🏗️ Build For Linux
on:
  workflow_call:
jobs:
  build-linux:
    name: 🐧 Build Linux For ${{ matrix.target }}
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        include:
           - target: aarch64-unknown-linux-gnu
             os: ubuntu-24.04-arm
           - target: x86_64-unknown-linux-gnu
             os: ubuntu-latest
    steps:
      - name: 🔍 Checkout Code
        uses: actions/checkout@v4
      - name: ⚙️ Set Up Rust Toolchain
        uses: dtolnay/rust-toolchain@stable
        with:
          target: ${{ matrix.target }}
          components: rustfmt, clippy
      - name: 🛠️ Build Release Binary
        run: cargo build --target ${{ matrix.target }} --release
      - name: 📦 Package Artifacts (tar.gz)
        shell: bash
        run: |
          mkdir -p release
          cp target/${{ matrix.target }}/release/getquotes release/
          tar -czvf getquotes-${{ matrix.target }}.tar.gz -C release getquotes -C ../ man/getquotes.1 LICENSE completions/
      - name: 🚢 Upload Linux Artifact
        uses: actions/upload-artifact@v4
        with:
          name: linux-${{ matrix.target }}
          path: getquotes-${{ matrix.target }}.tar.gz