I set up a simple Github Actions workflow simply to check if my self-hosted Windows Virtual Machine is able to recognize the installed java/git/maven versions. Versions in the Virtual Machine: Microsoft Windows 64 bit Java version: jdk1.8.0_202 Maven version: 3.8.5 Java and Git are correctly recognized however the step checking for maven version fails: it fails with the following log: