File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11name : Java CI
22
3- on : [push, pull_request]
3+ on : [workflow_dispatch, push, pull_request]
44
55jobs :
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"
Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments