Skip to content

Commit

Permalink
only update screenshot if code or ui has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
sverrejb committed Mar 14, 2024
1 parent 9bc584b commit b19b32c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/take_screenshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Take Screenshot
on:
push:
branches:
- main
- main
paths:
- 'src/**'
- 'img/**'
- 'ui/**'
workflow_dispatch:

env:
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ fn main() -> Result<(), PlatformError> {
);

main_window.run()
}

0 comments on commit b19b32c

Please sign in to comment.