Automated building and releasing Plugins on Github with Github Actions

Am I missing something obvious or does the toolchain not work when submodules are used? It looks like build runs make cleandep which removes everything from folder dep.