aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar vitalyster2022-03-30 03:14:00 +0300
committerGravatar GitHub2022-03-30 03:14:00 +0300
commit4b7b19f6c2927f03e7c84d1860c59554217789bc (patch)
tree4889c5356a6ed26d15f76f602dc1cfef6301da5b
parentc5fc0a4edecd49ed503d267eb21acb93d40ddc78 (diff)
CI: update setup-java action (#514)
This will enable problem matchers and will manage cache
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 3 insertions, 8 deletions
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: