Skip to content

Commit c21e283

Browse files
authored
Fix create release to run with right JDK (#1171)
Signed-off-by: Artur Souza <[email protected]>
1 parent e8a9010 commit c21e283

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/create-release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,18 @@ jobs:
2525
create-release:
2626
name: Creates release branch and tag
2727
runs-on: ubuntu-latest
28+
env:
29+
JDK_VER: '17'
2830
steps:
2931
- name: Check out code
3032
uses: actions/checkout@v4
3133
with:
3234
fetch-depth: 0
35+
- name: Set up OpenJDK ${{ env.JDK_VER }}
36+
uses: actions/setup-java@v4
37+
with:
38+
distribution: 'temurin'
39+
java-version: ${{ env.JDK_VER }}
3340
- name: Install required packages
3441
run: |
3542
sudo apt-get update

0 commit comments

Comments
 (0)