Add this step into workflow
- name: Set up Maven uses: stCarolas/setup-maven@v4 with: maven-version: 3.5.4