Skip to content

Commit 6225052

Browse files
Copilotfranz1981
andcommitted
Switch to containerized Loom build using shipilev/openjdk:loom
Co-authored-by: franz1981 <13125299+franz1981@users.noreply.github.com>
1 parent 98c93b7 commit 6225052

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/loom-tests.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,15 @@ on:
1515
jobs:
1616
test-with-loom:
1717
runs-on: ubuntu-latest
18+
container:
19+
image: shipilev/openjdk:loom
1820

1921
steps:
2022
- uses: actions/checkout@v6
2123

22-
- name: Download and setup Loom JDK
23-
run: |
24-
# Download the latest Loom build
25-
wget -q https://builds.shipilev.net/openjdk-jdk-loom/openjdk-jdk-loom-linux-x86_64-server.tar.xz
26-
27-
# Extract the archive
28-
tar -xf openjdk-jdk-loom-linux-x86_64-server.tar.xz
29-
30-
# Set JAVA_HOME for subsequent steps
31-
echo "JAVA_HOME=$PWD/jdk" >> $GITHUB_ENV
32-
echo "$PWD/jdk/bin" >> $GITHUB_PATH
33-
3424
- name: Verify Java version
3525
run: |
3626
java -version
37-
echo "JAVA_HOME=$JAVA_HOME"
3827
3928
- name: Verify Java version in Maven
4029
run: |

0 commit comments

Comments
 (0)