Post-step for 'Setup Java' fails on catthehacker/ubuntu:act-24.04 with node not found

I’m running a workflow for a Java project. The workflow succeeds in all main steps but fails during post-step cleanup for actions like actions/checkout@v4 and actions/setup-java@v4. The error in the logs is:

OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown
❌ Failure - Post Setup Java

Details:

  • Job runs on runs-on: ubuntu mapped to Docker images:

    • ghcr.io/catthehacker/ubuntu:act-22.04 → works fine

    • ghcr.io/catthehacker/ubuntu:act-24.04 → fails

Node.js is installed in all images at /opt/acttoolcache/node/18.20.8/x64/bin and is on $PATH. Confirmed with:

docker run --rm ``ghcr.io/catthehacker/ubuntu:act-24.04`` /bin/bash -c ‘echo $PATH; which node; node -v’

Outputs

/opt/acttoolcache/node/18.20.8/x64/bin:…other paths…
/opt/acttoolcache/node/18.20.8/x64/bin/node
v18.20.8