8000 Add Java 11 in github action · codellm-devkit/python-sdk@594a55b · GitHub
[go: up one dir, main page]

Skip to content

Commit 594a55b

Browse files
committed
Add Java 11 in github action
Signed-off-by: Rahul Krishna <i.m.ralk@gmail.com>
1 parent b14d79f commit 594a55b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
release:
1313
runs-on: ubuntu-latest
1414

15+
env:
16+
JAVA_HOME: ${{ github.workspace }}/graalvm-ce-java11-22.3.3
17+
1518
steps:
1619
- name: Check out code
1720
uses: actions/checkout@v4
@@ -21,6 +24,13 @@ jobs:
2124
with:
2225
python-version: '3.11'
2326

27+
- name: Set up JDK 11 from GraalVM
28+
run: |
29+
echo "${{ env.JAVA_HOME }}/bin" >> $GITHUB_PATH
30+
wget https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.3.3/graalvm-ce-java11-linux-amd64-22.3.3.tar.gz
31+
tar -xvzf graalvm-ce-java11-linux-amd64-22.3.3.tar.gz
32+
${{ env.JAVA_HOME }}/bin/gu install native-image
33+
2434
- name: Install Poetry
2535
run: |
2636
curl -sSL https://install.python-poetry.org | python3 -

0 commit comments

Comments
 (0)
0