diff --git a/template/action.yml b/template/action.yml index fcc7a071..abe63284 100644 --- a/template/action.yml +++ b/template/action.yml @@ -47,6 +47,12 @@ runs: ref: ${{ github.event.pull_request.head.ref }} repository: ${{github.event.pull_request.head.repo.full_name}} token: ${{ inputs.github-token }} + - name: Setup Java + uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4 + with: + java-version: '17' + distribution: 'temurin' + cache: maven - name: Set up Maven uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5 with: