microsoft/gctoolkit

Public

mirrored fromhttps://github.com/microsoft/gctoolkitAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
generational-zgc

Branches

Tags

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

Clone

HTTPS

Download ZIP

.github/workflows/maven.yml

34lines · modecode

1name: GCToolKit build with Maven
2
3on:
4 workflow_dispatch:
5 schedule:
6 - cron: 0 0 * * *
7 push:
8 branches: [ main ]
9 paths-ignore:
10 - '**.md'
11 pull_request:
12 branches: [ main ]
13 paths-ignore:
14 - '**.md'
15
16jobs:
17 build:
18 runs-on: ubuntu-latest
19 strategy:
20 matrix:
21 java: [11, 17, 21]
22
23 steps:
24 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
25
26 - name: Set up JDK ${{ matrix.java }}
27 uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
28 with:
29 java-version: ${{ matrix.java }}
30 distribution: 'microsoft'
31 cache: 'maven'
32
33 - name: Build with Maven
34 run: ./mvnw -B verify -Dmaven.compiler.release=${{ matrix.java }} --file pom.xml
35