Skip to content

Commit 5dd597e

Browse files
committed
[GHA] Update actions
1 parent 3339048 commit 5dd597e

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
name: Java CI
22

3-
on: [push, pull_request]
3+
on: [workflow_dispatch, push, pull_request]
44

55
jobs:
66
test:
77
runs-on: ${{ matrix.os }}
88
strategy:
99
matrix:
10-
os: [ubuntu-latest, macOS-latest, windows-latest]
11-
java: [11, 17, 21]
10+
os: [ubuntu-latest, macos-latest, windows-latest]
11+
java: [11, 17, 21, 22-ea]
12+
distribution: ['temurin']
1213
fail-fast: false
1314
max-parallel: 4
1415
name: Test JDK ${{ matrix.java }}, ${{ matrix.os }}
1516

1617
steps:
1718
- uses: actions/checkout@v4
18-
- name: Set up JDK
19+
- name: Set up JDK ${{ matrix.java }} ${{ matrix.distribution }}
1920
uses: actions/setup-java@v3
2021
with:
2122
java-version: ${{ matrix.java }}
22-
distribution: 'zulu'
23+
distribution: ${{ matrix.distribution }}
2324
- name: Test with Maven
2425
run: ./mvnw test -B -V --no-transfer-progress -D"license.skip=true"

.github/workflows/sonatype.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/setup-java@v3
1616
with:
1717
java-version: 21
18-
distribution: 'zulu'
18+
distribution: zulu
1919
- name: Deploy to Sonatype
2020
run: ./mvnw deploy -DskipTests -B -V --no-transfer-progress --settings ./.mvn/settings.xml -Dlicense.skip=true
2121
env:

0 commit comments

Comments
 (0)