microsoft/gctoolkit

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/relevance-check

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25
26 - name: Set up JDK ${{ matrix.java }}
27 uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
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