This happened when one of my team members added his AboutUs picture in a PR. The only change was the addition of 1 .png file, and no code was changed so the CI should not fail. But it did.
We can see from the CI logs that the build process failed because gradle failed to download and install the shadow package. Note that this build process happens one one of github's cloud VMs, and not on your local machine.
To fix this, you can close and reopen the PR, making github restart the CI process.
Note that this will only fix problems that are github's fault (e.g. failing to download a package). It will not magically make your CI pass. In particular, the CI may fail again if your code does not pass all the test cases (repeatedly closing and opening the PR will never fix this!).
This happened when one of my team members added his AboutUs picture in a PR. The only change was the addition of 1 .png file, and no code was changed so the CI should not fail. But it did.
We can see from the CI logs that the build process failed because gradle failed to download and install the shadow package. Note that this build process happens one one of github's cloud VMs, and not on your local machine.
To fix this, you can close and reopen the PR, making github restart the CI process.
Note that this will only fix problems that are github's fault (e.g. failing to download a package). It will not magically make your CI pass. In particular, the CI may fail again if your code does not pass all the test cases (repeatedly closing and opening the PR will never fix this!).