You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2021/11/02 08:37:50 UTC
[maven-install-plugin] branch master updated: [MINSTALL-164] Use
shared GH Actions (#16)
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/maven-install-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 2f3cf08 [MINSTALL-164] Use shared GH Actions (#16)
2f3cf08 is described below
commit 2f3cf0867f19384dcdcbd3cc0b779c54152d2f5e
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Tue Nov 2 09:37:40 2021 +0100
[MINSTALL-164] Use shared GH Actions (#16)
---
.github/workflows/main.yml | 59 ----------------------
.../workflows/{jdkbuilds.yml => maven-verify.yml} | 27 +++-------
2 files changed, 8 insertions(+), 78 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
deleted file mode 100644
index 72d8482..0000000
--- a/.github/workflows/main.yml
+++ /dev/null
@@ -1,59 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
-on:
- push:
- branches:
- - master
- - 'releases/*'
- pull_request:
- branches:
- - '*'
-
-jobs:
- linux:
- name: 'Linux'
- runs-on: ubuntu-latest
- container: "maven:3.6.2-jdk-8-slim"
- steps:
- - uses: actions/checkout@master
- - name: 'Test'
- run: mvn -V --no-transfer-progress clean verify -Prun-its
-
- windows:
- name: 'Windows'
- runs-on: windows-latest
- steps:
- - uses: actions/checkout@master
- - name: 'Set up JDK 8'
- uses: actions/setup-java@v1
- with:
- java-version: 8
- - name: 'Test'
- shell: bash
- run: mvn -V --no-transfer-progress clean verify -Prun-its
- mac:
- name: 'Mac OS'
- runs-on: macos-latest
- steps:
- - uses: actions/checkout@master
- - name: 'Set up JDK 8'
- uses: actions/setup-java@v1
- with:
- java-version: 8
- - name: 'Test'
- run: mvn -V --no-transfer-progress clean verify -Prun-its
diff --git a/.github/workflows/jdkbuilds.yml b/.github/workflows/maven-verify.yml
similarity index 62%
rename from .github/workflows/jdkbuilds.yml
rename to .github/workflows/maven-verify.yml
index e5aa9d2..7a38e97 100644
--- a/.github/workflows/jdkbuilds.yml
+++ b/.github/workflows/maven-verify.yml
@@ -6,7 +6,7 @@
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
-# http://www.apache.org/licenses/LICENSE-2.0
+# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
@@ -14,27 +14,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-#
-name: JDKBuilds
+
+name: Verify
on:
push:
- branches:
- - master
- - 'releases/*'
+ branches-ignore:
+ - dependabot/**
pull_request:
- branches:
- - '*'
jobs:
- openjdk:
- strategy:
- matrix:
- jdk: [8-slim, 11-slim, 13, 14]
- name: "OpenJDK ${{ matrix.jdk }}"
- runs-on: ubuntu-latest
- container: "maven:3.6.2-jdk-${{ matrix.jdk }}"
- steps:
- - uses: actions/checkout@master
- - name: Test
- run: mvn -V --no-transfer-progress clean verify -Prun-its
+ build:
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v1