diff --git a/.github/workflows/pr-ci.yaml b/.github/workflows/pr-ci.yaml index 9ee52f7..c283c26 100644 --- a/.github/workflows/pr-ci.yaml +++ b/.github/workflows/pr-ci.yaml @@ -6,8 +6,9 @@ on: - 1.x - 2.x - 3.x - - 4.x - 4.0.x + - 4.1.x + - 4.x jobs: build: @@ -18,15 +19,11 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: 11 - - name: Cache Maven packages - uses: actions/cache@v2 - with: - path: ~/.m2 - key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} - restore-keys: ${{ runner.os }}-m2 + cache: 'maven' - name: Version Info run: mvn -version - name: Build with Maven