From d02583e9587a2ab06b6f8d2e5795fd22d3f9f09c Mon Sep 17 00:00:00 2001 From: Emra Meduseljac Date: Tue, 12 Nov 2024 17:15:00 -0600 Subject: [PATCH] ensuring java is installed --- .github/workflows/macos-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index c33f2f0..f540f85 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -21,6 +21,13 @@ jobs: - name: Install Required System Tools run: | brew install pkg-config mysql-client + + # Set up Java environment + - name: Configure Java Environment + run: | + export JAVA_HOME=$(/usr/libexec/java_home) + export PATH="$JAVA_HOME/bin:$PATH" + java -version # Configure MySQL environment - name: Configure MySQL Environment