Skip to content

Commit

Permalink
Use pre-installed Java 21 in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte-Hansen committed Jan 8, 2025
1 parent 2551d38 commit 4604530
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,10 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: "graalvm"
java-version: "21"
- name: Set Java 21 as default
run: |
export JAVA_HOME=${JAVA_HOME_21_X64}
export PATH=$JAVA_HOME/bin:$PATH
- name: Cache Gradle Packages
uses: actions/cache@v4
with:
Expand All @@ -57,11 +56,10 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: "graalvm"
java-version: "21"
- name: Set Java 21 as default
run: |
export JAVA_HOME=${JAVA_HOME_21_X64}
export PATH=$JAVA_HOME/bin:$PATH
- name: Cache Gradle Packages
uses: actions/cache@v4
with:
Expand Down

0 comments on commit 4604530

Please sign in to comment.