-
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (37 loc) · 1.02 KB
/
maven.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Build the plugin
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [17, 20]
steps:
- uses: actions/checkout@v4.1.2
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@v4.2.1
with:
distribution: 'adopt'
java-version: ${{ matrix.java }}
- name: Version information
run: |
java -version
mvn --version
- name: Build with Maven
run: mvn -Pmetrics-no-updater -D"http.keepAlive=false" -D"maven.wagon.http.pool=false" -D"maven.wagon.httpconnectionManager.ttlSeconds=120" -DskipTests=true -B -V clean package
auto-merge:
runs-on: ubuntu-latest
needs: build
permissions:
pull-requests: write
contents: write
steps:
- name: Automatically merge dependabot upgrades
uses: fastify/github-action-merge-dependabot@v3.10.1
with:
target: minor