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 2021/12/22 15:33:06 UTC
[maven-shade-plugin] branch junit updated: use shared gh action
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch junit
in repository https://gitbox.apache.org/repos/asf/maven-shade-plugin.git
The following commit(s) were added to refs/heads/junit by this push:
new 6b6b9c7 use shared gh action
6b6b9c7 is described below
commit 6b6b9c7f9893ef8dbd2a2ecd2dad5edb01070679
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Wed Dec 22 16:33:06 2021 +0100
use shared gh action
---
.github/workflows/maven.yml | 38 +++++++-------------------------------
1 file changed, 7 insertions(+), 31 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index e192fa5..5bb5535 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -14,39 +14,15 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
name: Java CI
-on: [push, pull_request]
+on:
+ push:
+ branches-ignore:
+ - dependabot/**
+ pull_request:
jobs:
build:
- strategy:
- matrix:
- os: [ubuntu-latest, windows-latest, macOS-latest]
- java: [8, 11, 16, 17-ea]
- jdk: [adopt, zulu]
- fail-fast: false
-
- runs-on: ${{ matrix.os }}
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Set up cache for ~/.m2/repository
- uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: maven-${{ matrix.os }}-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- maven-${{ matrix.os }}-
-
- - name: Set up JDK 1.8
- uses: actions/setup-java@v2
- with:
- distribution: ${{ matrix.jdk }}
- java-version: ${{ matrix.java }}
-
- - name: Build with Maven
- run: mvn clean verify -P run-its -e -B -V
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1
\ No newline at end of file