File tree Expand file tree Collapse file tree 2 files changed +34
-76
lines changed Expand file tree Collapse file tree 2 files changed +34
-76
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3+
4+ # This workflow uses actions that are not certified by GitHub.
5+ # They are provided by a third-party and are governed by
6+ # separate terms of service, privacy policy, and support
7+ # documentation.
8+
9+ name : CI maven compatibility check
10+
11+ on :
12+ # Trigger analysis when pushing in master or pull requests, and when creating
13+ # a pull request.
14+ push :
15+ branches :
16+ - develop
17+
18+ jobs :
19+ build :
20+ runs-on : ubuntu-latest
21+ strategy :
22+ matrix :
23+ distribution : [ 'corretto', 'temurin' ]
24+ java : [ '8', '11', '17' ]
25+ name : Java ${{ matrix.Java }} (${{ matrix.distribution }}) sample
26+ steps :
27+ - uses : actions/checkout@v3
28+ - name : Setup java
29+ uses : actions/setup-java@v3
30+ with :
31+ distribution : ${{ matrix.distribution }}
32+ java-version : ${{ matrix.java }}
33+ - name : Maven build
34+ run : mvn clean install -Pcoverage,full,metadata
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments