yek 0.20.0

A tool to serialize a repository into chunks of text files
Documentation
name: Installation Test

on:
  release:
    types: [published]
  workflow_dispatch: {}

jobs:
  test-installation:
    name: Test Installation
    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
        include:
          - os: ubuntu-latest
            target: x86_64-unknown-linux-gnu
            shell: bash
            script_section: UNIX_INSTALLATION
          - os: macos-latest
            target: x86_64-apple-darwin
            shell: bash
            script_section: UNIX_INSTALLATION
          - os: windows-latest
            target: x86_64-pc-windows-msvc
            shell: powershell
            script_section: WINDOWS_INSTALLATION
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4

      - name: Get installation script
        id: get_install_script
        shell: bash
        run: |
          script=$(awk '/<!-- ${{ matrix.script_section }}_BEGIN -->/{p=1;next}/<!-- ${{ matrix.script_section }}_END -->/{p=0}p' README.md | grep -v '^```')
          [ -n "$script" ] || { echo "Could not extract installation script"; exit 1; }
          script="${script//'%'/'%25'}"
          script="${script//$'\n'/'%0A'}"
          script="${script//$'\r'/'%0D'}"
          echo "script=$script" >> $GITHUB_OUTPUT

      - name: Test installation script
        shell: bash
        run: ${{ steps.get_install_script.outputs.script }}

      - name: Verify final installation
        run: yek --help