12 runs-on: ubuntu-latest
14 - uses: actions/checkout@v3
16 uses: actions/setup-java@v2
18 java-version: ${{ env.JAVA_VERSION }}
19 java-package: ${{ env.JAVA_PACKAGE }}
20 architecture: ${{ env.JAVA_ARCH }}
21 distribution: ${{ env.JAVA_DISTRO }}
22 - uses: actions/cache@v2.1.7
24 path: ~/.m2/repository
25 key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27 ${{ runner.os }}-maven-
29 run: mvn --batch-mode versions:update-parent -DgenerateBackupPoms=false
30 - name: Create Pull Request
31 uses: peter-evans/create-pull-request@v3.14.0
33 token: ${{ secrets.GITHUB_TOKEN }}
34 commit-message: Update parent to latest version
35 committer: GitHub <noreply@github.com>
36 author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
37 title: Update parent to latest version
39 `mvn --batch-mode versions:update-parent -DgenerateBackupPoms=false`