Skip to content

Commit

Permalink
ci: pin exact Java version (#2145)
Browse files Browse the repository at this point in the history
Signed-off-by: Jendrik Johannes <[email protected]>
  • Loading branch information
jjohannes authored Dec 18, 2024
1 parent dcddf04 commit 83119fb
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: temurin
java-version: 17
java-version: '17.0.13'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: temurin
java-version: 17
java-version: '17.0.13'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: temurin
java-version: 17
java-version: '17.0.13'

- name: Setup Android SDK
uses: android-actions/setup-android@9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407 # v3.2.2
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: temurin
java-version: 17
java-version: '17.0.13'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/disabled/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
java-version: '17.0.13'
distribution: 'adopt'
- name: Fetch Hedera SDK
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/disabled/previewnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
java-version: '17.0.13'
distribution: 'adopt'
- name: Cache Gradle packages
uses: actions/cache@v2
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
java-version: '17.0.13'
distribution: 'adopt'
- name: Cache Gradle packages
uses: actions/cache@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/disabled/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
java-version: '17.0.13'
distribution: 'adopt'
- name: Cache Gradle packages
uses: actions/cache@v2
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
java-version: '17.0.13'
distribution: 'adopt'
- name: Cache Gradle packages
uses: actions/cache@v2
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
java-version: '17.0.13'
distribution: 'adopt'
- name: Cache Gradle packages
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: temurin
java-version: 17
java-version: '17.0.13'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: temurin
java-version: 17
java-version: '17.0.13'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: temurin
java-version: 17
java-version: '17.0.13'

- name: Setup Gradle
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
Expand Down
2 changes: 1 addition & 1 deletion gradle/toolchain-versions.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
jdk=17.0.12
jdk=17.0.13

0 comments on commit 83119fb

Please sign in to comment.