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