Skip to content

Commit 89af4f5

Browse files
committed
add release drafter and gh actions
Signed-off-by: olivier lamy <[email protected]>
1 parent abf348d commit 89af4f5

File tree

4 files changed

+76
-0
lines changed

4 files changed

+76
-0
lines changed

.github/dependabot.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "maven"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "daily"

.github/release-drafter.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
_extends: .github
2+
tag-template: plexus-$NEXT_MINOR_VERSION

.github/workflows/maven.yml

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
name: GitHub CI
19+
20+
on: [push, pull_request]
21+
22+
jobs:
23+
build:
24+
25+
strategy:
26+
matrix:
27+
os: [ubuntu-latest]
28+
java: [8, 11, 14, 15-ea]
29+
fail-fast: false
30+
31+
runs-on: ${{ matrix.os }}
32+
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v2
36+
37+
- name: Set up cache for ~./m2/repository
38+
uses: actions/[email protected]
39+
with:
40+
path: ~/.m2/repository
41+
key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
42+
restore-keys: |
43+
maven-${{ matrix.os }}-java${{ matrix.java }}-
44+
maven-${{ matrix.os }}-
45+
46+
- name: Set up JDK
47+
uses: actions/setup-java@v1
48+
with:
49+
java-version: ${{ matrix.java }}
50+
51+
- name: Build with Maven
52+
run: mvn install-e -B -V

.github/workflows/release-drafter.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Release Drafter
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
update_release_draft:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: release-drafter/[email protected]
11+
env:
12+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)