You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2023/02/19 09:09:37 UTC

[maven-jdeprscan-plugin] branch actions created (now 8fde04f)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch actions
in repository https://gitbox.apache.org/repos/asf/maven-jdeprscan-plugin.git


      at 8fde04f  (doc) cleanup actions setup

This branch includes the following new commits:

     new 8fde04f  (doc) cleanup actions setup

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-jdeprscan-plugin] 01/01: (doc) cleanup actions setup

Posted by sl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch actions
in repository https://gitbox.apache.org/repos/asf/maven-jdeprscan-plugin.git

commit 8fde04f7ad0b500f7839f45a8993adcb011b2acc
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Feb 19 10:09:26 2023 +0100

    (doc) cleanup actions setup
---
 .github/workflows/maven.yaml | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml
index ff4e6b5..0ed52ce 100644
--- a/.github/workflows/maven.yaml
+++ b/.github/workflows/maven.yaml
@@ -25,7 +25,7 @@ jobs:
     strategy:
       matrix:
         os: [ ubuntu-latest, windows-latest, macOS-latest ]
-        java: [ 8, 11, 16-ea, 17-ea ]
+(ci        java: [ 8, 11, 17 ]
       fail-fast: false
 
     runs-on: ${{ matrix.os }}
@@ -34,15 +34,6 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v2
 
-      - name: Set up cache for ~./m2/repository
-        uses: actions/cache@v2.1.4
-        with:
-          path: ~/.m2/repository
-          key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
-          restore-keys: |
-            maven-${{ matrix.os }}-java${{ matrix.java }}-
-            maven-${{ matrix.os }}-
-
       - name: Install Toolchain JDK
         if: ${{ matrix.java == '8' }}
         uses: AdoptOpenJDK/install-jdk@v1
@@ -73,9 +64,11 @@ jobs:
           EOF
 
       - name: Set up JDK
-        uses: actions/setup-java@v1
+        uses: actions/setup-java@v3
         with:
+          distribution: 'temurin'
           java-version: ${{ matrix.java }}
+          cache: 'maven'
 
       - name: Build with Maven
         run: mvn verify --errors --batch-mode --version '-Prun-its'