Commit graph

5 commits

Author SHA1 Message Date
Chris Smith
d0b7f7689e Improve screenshot action error handling
If the gradle build fails for some reason, the script should
bail out instead of carrying on and pushing a commit that
deletes all the screenshots[1]!

`set -e` simply makes the script return the appropriate
exit code immediately if any of the subcommands fails.

[1] e.g.
https://github.com/vector-im/element-x-android/pull/726/commits/a58834240e1054688527955ea3414d8687bd5975
2023-06-30 10:14:32 +01:00
Jorge Martin Espinosa
97fbe4f4b5 Try using ElementBot for recording screenshots too (#641) 2023-06-20 14:31:52 +02:00
Benoit Marty
7c6fbb36ba Iterate on the script #2 2023-06-02 17:20:36 +02:00
Benoit Marty
38ffb88b7f Iterate on the script 2023-06-02 16:40:41 +02:00
Benoit Marty
1c58a39128 Add GitHub workflow to record screenshots when manually triggered. 2023-06-02 16:16:29 +02:00