You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ol...@apache.org on 2022/04/11 00:59:13 UTC
[archiva-components] branch master updated: simplify
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-components.git
The following commit(s) were added to refs/heads/master by this push:
new c1102a8 simplify
c1102a8 is described below
commit c1102a88b3312be59eae829ef75836c853f71a68
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Mon Apr 11 10:59:04 2022 +1000
simplify
Signed-off-by: Olivier Lamy <ol...@apache.org>
---
.github/workflows/maven.yml | 19 ++++---------------
1 file changed, 4 insertions(+), 15 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index c3e55b6..949b089 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -19,11 +19,8 @@ name: GitHub CI
on:
push:
- branches:
- - master
pull_request:
- branches:
- - master
+
jobs:
build:
@@ -40,20 +37,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- - name: Set up cache for ~./m2/repository
- uses: actions/cache@v2.1.7
- 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: Set up JDK
uses: actions/setup-java@v2
with:
- distribution: adopt
- java-version: ${{ matrix.java }}
+ distribution: temurin
+ java-version: ${{ matrix.java }}
+ cache: 'maven'
- name: Build with Maven
run: mvn -e -B -V verify