|
1 | 1 | name: Auto JDK Matrix Test & Install |
2 | 2 |
|
3 | 3 | on: |
4 | | -# push: |
5 | | -# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ] |
6 | | -# pull_request: |
7 | | -# paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/*.xml', '**/*.yaml', '**/*.yml', '**/LICENSE', '**/NOTICE' ] |
8 | | -# The branches below must be a subset of the branches above |
9 | | -# branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ] |
| 4 | + push: |
| 5 | + branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ] |
| 6 | + pull_request: |
| 7 | + paths-ignore: [ '**/*.html', '**/*.md', '**/*.txt', '**/*.xml', '**/*.yaml', '**/*.yml', '**/LICENSE', '**/NOTICE' ] |
| 8 | + # The branches below must be a subset of the branches above |
| 9 | + branches: [ 'main', '[0-9]+.[0-9]+.[Xx]' ] |
10 | 10 | workflow_dispatch: |
11 | 11 |
|
12 | 12 | env: |
|
27 | 27 |
|
28 | 28 | steps: |
29 | 29 | - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" |
30 | | - uses: actions/checkout@v4 |
| 30 | + uses: actions/checkout@v5 |
31 | 31 | with: |
32 | 32 | persist-credentials: false |
33 | 33 |
|
|
43 | 43 | restore-keys: build-${{ runner.os }}-maven- |
44 | 44 |
|
45 | 45 | - name: Install Matrix JDK |
46 | | - uses: actions/setup-java@v4 |
| 46 | + uses: actions/setup-java@v5 |
47 | 47 | with: |
48 | 48 | java-version: ${{ matrix.jdk }} |
49 | 49 | distribution: 'temurin' |
|
67 | 67 | -Dgpg.skip=true |
68 | 68 |
|
69 | 69 | # Architecture options: x86, x64, armv7, aarch64, ppc64le |
70 | | -# setup-java@v4 has a "with cache" option |
| 70 | +# setup-java@v5 has a "with cache" option |
71 | 71 | # Lifecycle: validate, compile, test, package, verify, install, deploy |
72 | 72 | # -B batch mode, never stops for user input |
73 | 73 | # -V show Version without stopping |
|
0 commit comments