Skip to content

Commit 4ac49aa

Browse files
authored
ci: update CI workflow
1 parent a3f7f86 commit 4ac49aa

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ on:
77
branches: [main]
88
workflow_dispatch:
99
inputs:
10-
linux:
11-
description: "Linux"
12-
type: boolean
13-
default: true
1410
stylua:
1511
description: "StyLua"
1612
type: boolean
@@ -54,6 +50,14 @@ jobs:
5450
secrets: inherit
5551
# prettier-ignore
5652
with:
53+
run: |
54+
echo 'KERNEL=="event*", SUBSYSTEM=="input", MODE="0666"' | sudo tee /etc/udev/rules.d/99-evdev-test.rules
55+
sudo udevadm control --reload-rules
56+
sudo modprobe uinput || true
57+
sudo udevadm trigger --subsystem-match=input || true
58+
test -e /dev/uinput
59+
sudo chmod 666 /dev/uinput
60+
5761
linux: true
5862
macos: false
5963
windows: false

0 commit comments

Comments
 (0)