This repository was archived by the owner on Dec 19, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Expand file tree Collapse file tree 3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 2020 - name : Checkout
2121 uses : actions/checkout@v2
2222 - name : Setup Java
23- uses : actions/setup-java@v1
23+ uses : actions/setup-java@v2
2424 with :
25+ distribution : ' zulu'
2526 java-version : 8
2627 - name : Cache Gradle
2728 uses : actions/cache@v2
4647 - name : Checkout
4748 uses : actions/checkout@v2
4849 - name : Setup Java
49- uses : actions/setup-java@v1
50+ uses : actions/setup-java@v2
5051 with :
52+ distribution : ' zulu'
5153 java-version : 8
5254 - name : Cache Gradle
5355 uses : actions/cache@v2
7779 with :
7880 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
7981 - name : Set up JDK 11
80- uses : actions/setup-java@v1
82+ uses : actions/setup-java@v2
8183 with :
84+ distribution : ' zulu'
8285 java-version : 11
8386 - name : Cache SonarCloud packages
8487 uses : actions/cache@v2
Original file line number Diff line number Diff line change 2323 - name : Checkout
2424 uses : actions/checkout@v2
2525 - name : Setup Java
26- uses : actions/setup-java@v1
26+ uses : actions/setup-java@v2
2727 with :
28+ distribution : ' zulu'
2829 java-version : ${{ matrix.java }}
2930 - name : Cache Gradle
3031 uses : actions/cache@v2
6061 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
6162 - name : Set up JDK 11
6263 if : env.SONAR_TOKEN != null
63- uses : actions/setup-java@v1
64+ uses : actions/setup-java@v2
6465 with :
66+ distribution : ' zulu'
6567 java-version : 11
6668 - name : Cache SonarCloud packages
6769 if : env.SONAR_TOKEN != null
Original file line number Diff line number Diff line change 1616 - name : Checkout
1717 uses : actions/checkout@v2
1818 - name : Setup Java
19- uses : actions/setup-java@v1
19+ uses : actions/setup-java@v2
2020 with :
21+ distribution : ' zulu'
2122 java-version : 8
2223 - name : Cache Gradle
2324 uses : actions/cache@v2
4243 - name : Checkout
4344 uses : actions/checkout@v2
4445 - name : Setup Java
45- uses : actions/setup-java@v1
46+ uses : actions/setup-java@v2
4647 with :
48+ distribution : ' zulu'
4749 java-version : 8
4850 - name : Cache Gradle
4951 uses : actions/cache@v2
You can’t perform that action at this time.
0 commit comments