Skip to content

Commit

Permalink
use shared gh action asf (#273)
Browse files Browse the repository at this point in the history
* use shared gh action from ASF

Signed-off-by: Olivier Lamy <olamy@apache.org>
  • Loading branch information
olamy committed May 3, 2022
1 parent 8258677 commit 285479a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 23 deletions.
24 changes: 2 additions & 22 deletions .github/workflows/maven.yml
Expand Up @@ -21,25 +21,5 @@ on: [push, pull_request]

jobs:
build:

strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java: [8, 11, 17]
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3.1.1
with:
java-version: ${{ matrix.java }}
distribution: temurin
cache: maven

- name: Build with Maven
run: ./mvnw verify -e -B -V -P run-its
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2
3 changes: 2 additions & 1 deletion src/main/java/org/codehaus/mojo/flatten/FlattenMojo.java
Expand Up @@ -98,7 +98,8 @@
* of the original POM with the focus to contain only the important information for consuming it. Therefore information
* that is only required for maintenance by developers and to build the project artifact(s) are stripped. Starting from
* here we specify how the flattened POM is created from the original POM and its project:<br>
* <table border="1" summary="">
* <table>
* <caption></caption>
* <tr>
* <th>Element</th>
* <th>Transformation</th>
Expand Down

0 comments on commit 285479a

Please sign in to comment.