File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 3030 shell : bash
3131 run : curl -vvv --fail --data-binary @- https://codecov.io/validate < codecov.yml
3232
33-
3433 build :
3534 name : Build on JDK ${{ matrix.java-version }} (${{ matrix.os-name }})
3635 runs-on : ${{ matrix.os-name }}
@@ -40,22 +39,16 @@ jobs:
4039 matrix :
4140 include :
4241 - java-version : 17
43- use-oracle : false
4442 os-name : ubuntu-latest
4543 - java-version : 17
46- use-oracle : false
4744 os-name : windows-latest
4845 - java-version : 17
49- use-oracle : false
5046 os-name : macos-latest
5147 - java-version : 21
52- use-oracle : false
5348 os-name : ubuntu-latest
5449 - java-version : GA
55- use-oracle : true
5650 os-name : ubuntu-latest
5751 - java-version : EA
58- use-oracle : true
5952 os-name : ubuntu-latest
6053
6154 steps :
@@ -65,14 +58,14 @@ jobs:
6558 fetch-depth : 2
6659
6760 - name : Initialize JDK from Temurin
68- if : ${{ ! matrix.use-oracle }}
61+ if : ${{ matrix.java-version != 'GA' && matrix.java-version != 'EA' }}
6962 uses : actions/setup-java@v4
7063 with :
7164 java-version : ${{ matrix.java-version }}
7265 distribution : ' temurin'
7366
7467 - name : Initialize JDK from Oracle
75- if : ${{ matrix.use-oracle }}
68+ if : ${{ matrix.java-version == 'GA' || matrix.java-version == 'EA' }}
7669 uses : oracle-actions/setup-java@v1
7770 with :
7871 website : jdk.java.net
You can’t perform that action at this time.
0 commit comments