I experienced that actions randomly either work out fine or get stuck under the same preconditions (same code). When I re-run the job it sometimes randomly completes in about 4 to 5 minutes and sometimes randomly gets stuck in preparations and eventually gets canceled after the 6 hours limit.
Since I can’t access the logs from old runs here are two commits with identical code, once it worked and once not.
I don’t have much experience with GitHub Actions, so I’m not sure whether the error might be on my side, but it seems like there have been to some extend similar issues recently. Have to remove https from the link since I’m only allowed to post two links.
Would be great if someone could explain that inconsistent behavior to me and show me how to fix that.