microsoft/gctoolkit

Public

mirrored from https://github.com/microsoft/gctoolkitAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
2d2bada229e9f4dfb80dbdcf953495c1e87a04c5

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/maven.yml

37lines · modecode

1name: GCToolKit build with Maven
2
3on:
4 push:
5 branches: [ main ]
6 paths-ignore:
7 - '**.md'
8 pull_request:
9 branches: [ main ]
10 paths-ignore:
11 - '**.md'
12
13jobs:
14 build:
15 runs-on: ubuntu-latest
16 strategy:
17 matrix:
18 java: [11, 17]
19
20 steps:
21 - uses: actions/checkout@v2
22
23 - name: Cache Maven
24 uses: actions/cache@v2.1.4
25 with:
26 path: ~/.m2/repository
27 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
28 restore-keys: ${{ runner.os }}-m2
29
30 - name: Set up JDK ${{ matrix.java }}
31 uses: actions/setup-java@v2
32 with:
33 java-version: ${{ matrix.java }}
34 distribution: 'adopt'
35
36 - name: Build with Maven
37 run: ./mvnw -B verify javadoc:javadoc --file pom.xml