cooljeanius / Flight_Freedom

A Wesnoth drake campaign, originally by MadMax
https://forums.wesnoth.org/viewtopic.php?f=8&t=1887
GNU General Public License v2.0
3 stars 2 forks source link

Only run the "Verify images" part of the lint workflow if any images were changed #29

Open cooljeanius opened 1 month ago

cooljeanius commented 1 month ago

Right now the lint workflow takes awhile due to the large number of images that woptipng needs to check; I think GitHub Actions supports a paths key or something that we could set so that it only runs when the mentioned paths are changed...

cooljeanius commented 1 month ago

I think GitHub Actions supports a paths key or something that we could set so that it only runs when the mentioned paths are changed...

...yeah, the map-diff workflow already uses it so that it only runs if any maps are changed...

cooljeanius commented 1 month ago

...of course, part of the issue here is just that there are so many images to check in the first place, which is something that fixing issue #23 ought to help with...

cooljeanius commented 1 month ago

See also czyzby/wesnoth-png-optimizer#7