Skip to content

Commit

Permalink
wait until completed build
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrejb committed Mar 11, 2024
1 parent 7c6c4a2 commit 7f4a05a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/take_screenshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ jobs:
run: |
Xvfb :0 -screen 0 768x1024x24 > /dev/null 2>&1 &
sleep 5 # Add a delay to give Xvfb time to start
cargo build --release
cargo run --release &
sleep 5
sleep 15
scrot -o screenshot.png
- name: Commit and push screenshot
Expand Down

0 comments on commit 7f4a05a

Please sign in to comment.