TerryCavanagh / VVVVVV

The source code to VVVVVV! http://thelettervsixtim.es/
Other
6.93k stars 555 forks source link

Only trigger CI workflows for code or CI changes #1098

Closed InfoTeddy closed 7 months ago

InfoTeddy commented 7 months ago

This makes it so that the main CI workflow will only trigger if a change is made to a code file in desktop_version/ (as the CI is only for desktop_version/), or if the CI file itself is changed.

The CI workflow for Android will only trigger if Android-specific code could have changed. This includes all code that is definitely Android-specific (e.g. Java files), but also C/C++ files that have __ANDROID__ ifdefs.

Unfortunately, it's not possible to reuse the same list of paths across two different event trigger types. So we have to copy-paste here.

Legal Stuff:

By submitting this pull request, I confirm that...