File tree Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Expand file tree Collapse file tree 1 file changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -52,17 +52,34 @@ jobs:
5252 run :
5353 shell : bash -l {0}
5454 steps :
55- - name : Install system dependencies
55+ - name : Install Pandoc for NBSphinx
5656 run : |
5757 sudo apt-get update
58- sudo apt-get install -y pandoc xvfb libnotify-bin dunst dbus-x11
59- - name : Set up OS to handle desktop notifications (used in adv.-exec. tutorial)
58+ sudo apt-get install -y pandoc
59+ - name : Install Dependencies for virtual notifications in Adv.-Exec Tutorial
60+ run : |
61+ sudo apt update
62+ sudo apt install -y xvfb libnotify-bin dbus-x11 xfce4-notifyd
63+ - name : Start Virtual Display (for notifications)
6064 run : |
6165 Xvfb :99 &
6266 export DISPLAY=:99
6367 eval "$(dbus-launch --sh-syntax)"
64- dunst &
65- notify-send "Test Notification"
68+ echo "DISPLAY=:99" >> $GITHUB_ENV
69+ echo "DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS" >> $GITHUB_ENV
70+ - name : Start Notification Daemon (for notifications)
71+ run : |
72+ xfce4-notifyd &
73+ sleep 2 # Give it some time to start
74+ - name : Send Notification (test notifications)
75+ run : |
76+ notify-send "GitHub Runner Notification" "This is a test notification from GitHub Actions"
77+ - name : Debug Running Processes (for notifications)
78+ run : |
79+ ps aux | grep notify
80+ ps aux | grep xfce4-notifyd
81+ dbus-monitor --session &
82+ sleep 3
6683 - uses : actions/checkout@v4
6784 - name : Fetch tags
6885 run : git fetch --prune --unshallow
You can’t perform that action at this time.
0 commit comments