build javafx project jar from github with maven

im about to make a new javafx project that i know im going to want to build with maven everytime i commit.
this is the yaml i use for non javafx projects that works https://github.com/asdru22/3D-Graphics/blob/master/.github/workflows/maven.yml
however the last time i made a javafx project i couldnt get it to build from github so i wanted set it up correctly this time if anyone had tips on how to do it. (using intellij btw)
GitHub
Contribute to asdru22/3D-Graphics development by creating an account on GitHub.
3D-Graphics/.github/workflows/maven.yml at master · asdru22/3D-Grap...
Was this page helpful?