Skip to content

Commit

Permalink
[CI] Fix Java setup on macOS. (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-adaptive committed Feb 2, 2024
1 parent 11c4130 commit 91a7422
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION (Linux)
if: runner.os == 'Linux'
- name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION (Linux/macOS)
if: runner.os == 'Linux' || runner.os == 'macOS'
run: |
java -Xinternalversion
echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV
Expand Down Expand Up @@ -111,8 +111,8 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION (Linux)
if: runner.os == 'Linux'
- name: Setup BUILD_JAVA_HOME & BUILD_JAVA_VERSION (Linux/macOS)
if: runner.os == 'Linux' || runner.os == 'macOS'
run: |
java -Xinternalversion
echo "BUILD_JAVA_HOME=${JAVA_HOME}" >> $GITHUB_ENV
Expand Down

0 comments on commit 91a7422

Please sign in to comment.