File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,14 +20,16 @@ jobs:
2020 runs-on : ${{ matrix.os }}
2121 strategy :
2222 matrix :
23- java_version : [ '8' ]
2423 os : [ ubuntu-latest, windows-latest, macOS-latest ]
2524 steps :
2625 - uses : actions/checkout@v2
27- - name : Set up JDK ${{ matrix.java_version }}
28- uses : actions/setup-java@v1
26+ - name : Set up JDKs
27+ uses : actions/setup-java@v5
2928 with :
30- java-version : ${{ matrix.java_version }}
29+ distribution : ' temurin'
30+ java-version : |
31+ 11
32+ 17
3133 - name : Grant execute permission for gradlew
3234 run : chmod +x gradlew
3335 - name : Build with Gradle
@@ -38,10 +40,13 @@ jobs:
3840 runs-on : ubuntu-latest
3941 steps :
4042 - uses : actions/checkout@v2
41- - name : Set up JDK 8
42- uses : actions/setup-java@v1
43+ - name : Set up JDKs
44+ uses : actions/setup-java@v5
4345 with :
44- java-version : 8
46+ distribution : ' temurin'
47+ java-version : |
48+ 11
49+ 17
4550 - name : Grant execute permission for gradlew
4651 run : chmod +x gradlew
4752 - name : Jar
Original file line number Diff line number Diff line change 4040 - name : Checkout repository
4141 uses : actions/checkout@v3
4242
43+ - name : Set up JDKs
44+ uses : actions/setup-java@v5
45+ with :
46+ distribution : ' temurin'
47+ java-version : |
48+ 11
49+ 17
50+
4351 # Initializes the CodeQL tools for scanning.
4452 - name : Initialize CodeQL
4553 uses : github/codeql-action/init@v2
Original file line number Diff line number Diff line change @@ -16,10 +16,13 @@ jobs:
1616 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1717 WITH_V : false
1818 DRY_RUN : true
19- - name : Set up JDK 8
20- uses : actions/setup-java@v1
19+ - name : Set up JDKs
20+ uses : actions/setup-java@v5
2121 with :
22- java-version : 8
22+ distribution : ' temurin'
23+ java-version : |
24+ 11
25+ 17
2326 - name : Grant execute permission for gradlew
2427 run : chmod +x gradlew
2528 - name : Jar
You can’t perform that action at this time.
0 commit comments