You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Forked repo fails to successfully execute setup-java #536
Run GITHUB_TOKEN=<access token created above> ./scripts/releases (if you need to re-run this step then delete the latest Releases on the front page of the repo).
Enter y when prompted
Go to the Actions tab in GitHub and notice that the setup-java action fails
Expected behavior:
The setup-java action succeeds.
Hi, @HughPowell 👋 Thanks for the issue, I've just checked the original repository you forked and the workflow you pointed out failed there as well because of the same reason. As you can see, only the last run was successful, as the owner of the repo disabled the cache option of the action.
So there are two options for how to fix this problem:
disable cache option of the action (this chapter of readme can be helpful)
add pom.xml file to the repo.
I hope this will help to solve your problem, now I'm going to close this issue. If you have any additional questions, feel free to ping me.
Activity
IvanZosimov commentedon Sep 20, 2023
Hi, @HughPowell 👋 Thanks for the issue, I've just checked the original repository you forked and the workflow you pointed out failed there as well because of the same reason. As you can see, only the last run was successful, as the owner of the repo disabled the cache option of the action.
So there are two options for how to fix this problem:
pom.xmlfile to the repo.I hope this will help to solve your problem, now I'm going to close this issue. If you have any additional questions, feel free to ping me.
HughPowell commentedon Sep 21, 2023
Hi @IvanZosimov , thanks for following up so quickly on this. It's now fixed. Much appreciated 🙇