From 600bad337e60f8c8e5e09c64ce99c6588707406e Mon Sep 17 00:00:00 2001 From: Ed_ Date: Mon, 27 Jan 2025 17:42:13 -0500 Subject: [PATCH] attempting to ameliorate mac builds in gh actions --- .github/workflows/macos_build.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos_build.yaml b/.github/workflows/macos_build.yaml index b520d46..2b86343 100644 --- a/.github/workflows/macos_build.yaml +++ b/.github/workflows/macos_build.yaml @@ -35,7 +35,11 @@ jobs: brew install harfbuzz brew install odin - make -C "/opt/homebrew/Cellar/odin/2024-12/libexec/vendor/stb/src" + # Get the latest Odin directory dynamically + ODIN_VER_DIR=$(ls /opt/homebrew/Cellar/odin/ | sort -r | head -n1) + echo "ODIN_VER_DIR=$ODIN_VER_DIR" >> $GITHUB_ENV + + make -C "/opt/homebrew/Cellar/odin/$ODIN_VER_DIR/libexec/vendor/stb/src" - name: Run build script run: |