Skip to content

Commit 6e47d57

Browse files
authored
use shared gh actions (#204)
Signed-off-by: Olivier Lamy <olamy@apache.org>
1 parent b2c1e4a commit 6e47d57

File tree

2 files changed

+9
-28
lines changed

2 files changed

+9
-28
lines changed

.github/workflows/maven.yml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,13 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
name: GitHub CI
18+
name: Maven GitHub CI
1919

20-
on: [push, pull_request]
20+
on:
21+
push:
22+
pull_request:
2123

2224
jobs:
2325
build:
24-
25-
strategy:
26-
matrix:
27-
os: [ubuntu-latest,windows-latest, macOS-latest]
28-
java: [8, 11, 17]
29-
jdk: [temurin]
30-
fail-fast: false
31-
32-
runs-on: ${{ matrix.os }}
33-
34-
steps:
35-
- uses: actions/checkout@v3
36-
- uses: actions/setup-java@v2
37-
with:
38-
distribution: ${{ matrix.jdk }}
39-
java-version: ${{ matrix.java }}
40-
cache: 'maven'
41-
42-
- name: Build with Maven
43-
run: mvn install javadoc:javadoc site -e -B -V -Prun-its
26+
name: Verify
27+
uses: codehaus-plexus/.github/.github/workflows/maven.yml@master

.github/workflows/release-drafter.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
branches:
55
- master
66
jobs:
7-
update_release_draft:
8-
runs-on: ubuntu-latest
9-
steps:
10-
- uses: release-drafter/release-drafter@v5.19.0
11-
env:
12-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7+
build:
8+
name: Verify
9+
uses: codehaus-plexus/.github/.github/workflows/release-drafter.yml@master

0 commit comments

Comments
 (0)