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