Skip to content

Commit 4c5433f

Browse files
authored
ci: update CI workflow
1 parent 4b1be01 commit 4c5433f

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
branches: [main]
88
workflow_dispatch:
99
inputs:
10+
linux:
11+
description: "Linux"
12+
type: boolean
13+
default: true
1014
stylua:
1115
description: "StyLua"
1216
type: boolean
@@ -39,20 +43,17 @@ on:
3943
description: "Publish release"
4044
type: boolean
4145
default: false
46+
47+
permissions:
48+
contents: write
49+
pull-requests: write
50+
4251
jobs:
4352
ci:
4453
uses: BlueLua/.github/.github/workflows/ci.yml@main
4554
secrets: inherit
4655
# prettier-ignore
4756
with:
48-
run: |
49-
echo 'KERNEL=="event*", SUBSYSTEM=="input", MODE="0666"' | sudo tee /etc/udev/rules.d/99-evdev-test.rules
50-
sudo udevadm control --reload-rules
51-
sudo modprobe uinput || true
52-
sudo udevadm trigger --subsystem-match=input || true
53-
test -e /dev/uinput
54-
sudo chmod 666 /dev/uinput
55-
5657
linux: true
5758
macos: false
5859
windows: false

0 commit comments

Comments
 (0)