When actions fail, diagnose issues using the gh CLI (pre-installed and
pre-authenticated, you can check with gh auth status).
Expect a URL like https://github.com/$REPO/actions/runs/$RUN_ID/job/$JOB_ID, to zoom onto the error try:
gh run view -R $REPO $RUN_ID --log-failed | sed '/Post job cleanup/,$d' | tail -n 200