From c49fa46c707e0e150c218e342518de0f9a0b498e Mon Sep 17 00:00:00 2001 From: Frank Halasz Date: Mon, 5 Jun 2023 23:13:48 -0700 Subject: [PATCH] Change way we download Darwin SDL framework since brew places things in wrong place --- .github/workflows/buildReleaseInclDocker.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildReleaseInclDocker.yml b/.github/workflows/buildReleaseInclDocker.yml index bf4cdc0..addb5b1 100644 --- a/.github/workflows/buildReleaseInclDocker.yml +++ b/.github/workflows/buildReleaseInclDocker.yml @@ -297,11 +297,19 @@ jobs: id: tag uses: ./../actions/release-tag-action - # Install X11 and SDL dependencies + # Install X11 dependencies - name: Install X11 dependencies on MacOS run: | brew install --cask xquartz - brew install SDL2 + + # Install SDL dependencies + - name: Install SDL2 dependencies on MacOS + run: | + gh release download release-2.26.5 --repo libsdl-org/SDL --pattern SDL2-2.26.5.dmg + hdiutil attach SDL2-2.26.5.dmg + cd /Volumes/SDL2/ + cp SDL2.framework /Library/Frameworks + hdiutil detach /Volumes/SDL2/ # Build maiko - name: Build