You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/01/09 11:12:39 UTC
[maven-deploy-plugin] branch master updated: Use Shared GitHub Actions
This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 36a2030 Use Shared GitHub Actions
36a2030 is described below
commit 36a2030c8851e21cd1e0bec01c3cea4dc6055a48
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Jan 9 12:12:33 2022 +0100
Use Shared GitHub Actions
---
.github/workflows/{maven.yml => maven-verify.yml} | 34 ++++-------------------
1 file changed, 6 insertions(+), 28 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven-verify.yml
similarity index 53%
rename from .github/workflows/maven.yml
rename to .github/workflows/maven-verify.yml
index 3fdac5f..bbd7786 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven-verify.yml
@@ -15,35 +15,13 @@
# specific language governing permissions and limitations
# under the License.
-name: Java CI
+name: Verify
-on: [push, pull_request]
+on:
+ push:
+ pull_request:
jobs:
build:
- strategy:
- matrix:
- os: [ubuntu-latest, windows-latest, macOS-latest]
- 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@v1
- with:
- java-version: 1.8
-
- - name: Build with Maven
- run: mvn -e -B -V clean verify -P run-its
+ name: Verify
+ uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2