From 7ba9fb6bd473bbbe8ed675dcbff736f589bbcb9d Mon Sep 17 00:00:00 2001 From: Matthias Rustler Date: Thu, 26 Dec 2024 15:12:44 +0100 Subject: [PATCH] fix: update XQuartz setup in release workflow for macOS --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d268fec..f56da83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,12 +63,12 @@ jobs: glew brew install --cask xquartz - - name: Set up XQuartz (macOS) - if: runner.os == 'macOS' + - name: Start XQuartz (macOS) + if: matrix.os == 'macos-latest' run: | - sudo /usr/bin/defaults write org.macosforge.xquartz.X11 app_to_run /usr/bin/true sudo /usr/bin/defaults write org.macosforge.xquartz.X11 enable_iglx -bool true - sudo launchctl load /Library/LaunchAgents/org.macosforge.xquartz.startx.plist + open -a XQuartz + sleep 10 - name: Build project run: |