Skip to content

Commit d4e0aae

Browse files
authored
Update JDK version to 17 in some remaining CI tasks (#23639)
Update `build-msi`, `test-msi-package`, `build-chocolatey-package`, `test-chocolatey` JDK to 17
1 parent 17625b5 commit d4e0aae

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build-msi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/setup-java@v4
2626
with:
2727
distribution: 'adopt'
28-
java-version: '8'
28+
java-version: 17
2929
cache: 'sbt'
3030
- name: Build MSI package
3131
run: sbt 'dist-win-x86_64/Windows/packageBin'

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ jobs:
898898
# Ensure that version starts with prefix 3.
899899
# In the future it can be adapted to compare with git tag or version set in the project/Build.scala
900900
version: "3."
901-
java-version: 8
901+
java-version: 17
902902

903903
build-sdk-package:
904904
uses: ./.github/workflows/build-sdk.yml
@@ -909,7 +909,7 @@ jobs:
909909
github.event_name == 'push' ||
910910
github.event_name == 'merge_group'
911911
with:
912-
java-version: 8
912+
java-version: 17
913913

914914
build-chocolatey-package:
915915
uses: ./.github/workflows/build-chocolatey.yml
@@ -923,6 +923,6 @@ jobs:
923923
uses: ./.github/workflows/test-chocolatey.yml
924924
with:
925925
version : 3.6.0-SNAPSHOT # Fake version, used only for choco tests
926-
java-version: 8
926+
java-version: 17
927927
if: github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_chocolatey]')
928928
needs: [ build-chocolatey-package ]

.github/workflows/releases.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
needs: build-chocolatey
6161
with:
6262
version : ${{ inputs.version }}
63-
java-version: 8
63+
java-version: 17
6464
publish-chocolatey:
6565
uses: ./.github/workflows/publish-chocolatey.yml
6666
needs: [ build-chocolatey, test-chocolatey ]
@@ -69,4 +69,4 @@ jobs:
6969
secrets:
7070
API-KEY: ${{ secrets.CHOCOLATEY_KEY }}
7171

72-
# TODO: ADD RELEASE WORKFLOW TO CHOCOLATEY AND OTHER PACKAGE MANAGERS HERE
72+
# TODO: ADD RELEASE WORKFLOW TO CHOCOLATEY AND OTHER PACKAGE MANAGERS HERE

0 commit comments

Comments
 (0)