wl-uinput-proxy 0.0.4

Wayland proxy implementing zwp_virtual_keyboard_manager_v1 and zwlr_virtual_pointer_manager_v1 using uinput
name: Publish

on:
  release:
    types:
      - published

permissions:
  contents: read
  id-token: write

jobs:
  publish:
    environment:
      name: publish
      deployment: false
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v6
    - run: test "${{github.ref_name}}" == "v$(grep -FA5 'name = "wl-uinput-proxy"' Cargo.lock | grep -E '^version\s*=\s*".+"' | head -n1 | cut -d '"' -f2)" || { echo 'incorrect version in Cargo.toml'; exit 1; }
    - run: test "${{github.ref_name}}" == "v$(grep -E '^version\s*=\s*".+"' Cargo.toml | head -n1 | cut -d '"' -f2)" || { echo 'incorrect version in Cargo.toml'; exit 1; }
    - uses: rust-lang/crates-io-auth-action@v1
      id: auth
    - run: cargo publish --no-verify
      env:
        CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}