It seems like Gradle is doing some funny things and a task that isn't executed anywhere is causing builds to fail. Instead of checking the environment when the task is run, don't register it at all when installed as a dependency.
Also updates a workflow file, so that both actions can pass at the same time 😃.
Description
Fixes https://github.com/software-mansion/react-native-gesture-handler/issues/2952
It seems like Gradle is doing some funny things and a task that isn't executed anywhere is causing builds to fail. Instead of checking the environment when the task is run, don't register it at all when installed as a dependency.
Also updates a workflow file, so that both actions can pass at the same time 😃.