From 4b7b19f6c2927f03e7c84d1860c59554217789bc Mon Sep 17 00:00:00 2001 From: vitalyster Date: Wed, 30 Mar 2022 03:14:00 +0300 Subject: CI: update setup-java action (#514) This will enable problem matchers and will manage cache--- .github/workflows/ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8003055f..ec4f22f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,16 +9,11 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up JDK 17 - uses: actions/setup-java@v1 + uses: actions/setup-java@v3 with: + distribution: 'temurin' java-version: 17 - - name: Cache Maven modules - uses: actions/cache@v2 - with: - path: ~/.m2/repository - key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - restore-keys: | - ${{ runner.os }}-maven- + cache: 'maven' - name: Setup Node.JS uses: actions/setup-node@v3 with: -- cgit v1.2.3