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

jungm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bval.git

commit 27fa7bc3dd2f6ac7b04745dcdc71188d2c370860
Author: Markus Jung <[email protected]>
AuthorDate: Wed Sep 18 16:54:59 2024 +0200

    clean up github action
---
 .github/workflows/bval-ci.yml | 34 ++++------------------------------
 1 file changed, 4 insertions(+), 30 deletions(-)

diff --git a/.github/workflows/bval-ci.yml b/.github/workflows/bval-ci.yml
index 06adc41..3aaec42 100644
--- a/.github/workflows/bval-ci.yml
+++ b/.github/workflows/bval-ci.yml
@@ -19,53 +19,27 @@
 # NOTE https://infra.apache.org/github-actions-secrets.html
 
 name: BVal CI
-
-on:
-  push:
-    branches:
-      - master
-      - main
-      - bval-*
-    paths-ignore:
-      - '**.md'
-      - '.travis.yml'
-      - 'Jenkinsfile'
-  pull_request:
-    branches:
-      - master
-      - main
-      - bval-*
-    paths-ignore:
-      - '**.md'
-      - '.travis.yml'
-      - 'Jenkinsfile'
-  workflow_dispatch:
+on: [push, pull_request, workflow_dispatch]
 
 permissions:
   contents: read
   
 jobs:
   build:
-
     runs-on: ubuntu-latest
+
+    name: Build (Java ${{ matrix.jdk }})
     strategy:
       matrix:
         jdk: [ '17', '21', '23' ]
 
     steps:
       - uses: actions/checkout@v4
-        with:
-          persist-credentials: false
       - name: Set up JDK ${{ matrix.jdk }}
         uses: actions/setup-java@v4
         with:
           distribution: 'temurin'
           java-version: ${{ matrix.jdk }}
-      - name: Cache Maven packages
-        uses: actions/cache@v4
-        with:
-          path: ~/.m2
-          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-          restore-keys: ${{ runner.os }}-m2
+          cache: 'maven'
       - name: Build with Maven
         run: mvn clean install
\ No newline at end of file

Reply via email to