Skip to content

Commit 7e252ac

Browse files
committed
Use shared GitHub workflows
This would ease the maintenance of the build and other utility actions, such as release-drafter.
1 parent d6f36c6 commit 7e252ac

File tree

2 files changed

+4
-24
lines changed

2 files changed

+4
-24
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,5 @@ on: [push, pull_request]
2121

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

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,5 @@ on:
55
- master
66
jobs:
77
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 }}
8+
name: Update Release Notes Draft
9+
uses: codehaus-plexus/.github/.github/workflows/release-drafter.yml@v0.0.4

0 commit comments

Comments
 (0)