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