Skip to content

Commit 460afa3

Browse files
committed
🐛 Fixed xhost: unable to open display ''
1 parent 76d60e9 commit 460afa3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/upload_python_package.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- name: Setup Device Information.
2323
run: |
2424
echo "export DISPLAY=\$(cat /etc/resolv.conf | grep nameserver | awk '{print \$2}'):0.0" >> ~/.profile
25+
source ~/.profile
2526
pip install xkeysnail
2627
xhost +SI:localuser:root
2728
xkeysnail config.py

0 commit comments

Comments
 (0)