Skip to content

Commit 88c89d6

Browse files
authored
Update prepare-release for java components (#1628)
1 parent 6045a11 commit 88c89d6

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/prepare-release.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,17 @@ jobs:
8686
with:
8787
node-version: 20
8888

89+
- name: Set up Java 21
90+
if: >-
91+
(inputs.release_repo || github.event.inputs.release_repo) == 'glsp-server' ||
92+
(inputs.release_repo || github.event.inputs.release_repo) == 'glsp-eclipse-integration'
93+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
94+
with:
95+
distribution: temurin
96+
java-version: '21'
97+
8998
- name: Set up Python
90-
if: inputs.release_repo == 'glsp-theia-integration'
99+
if: (inputs.release_repo || github.event.inputs.release_repo) == 'glsp-theia-integration'
91100
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
92101
with:
93102
python-version: '3.11'

0 commit comments

Comments
 (0)