From 2d759ce0bca56ddc75a7cd8e13c3370af263a837 Mon Sep 17 00:00:00 2001 From: guihkx <626206+guihkx@users.noreply.github.com> Date: Sun, 20 Oct 2024 02:18:40 -0300 Subject: [PATCH] fix(ci): Run create-dmg as root on macOS Fixes #711 (hopefully). --- .github/workflows/macos.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e62d1676..9562bd36 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -187,7 +187,9 @@ jobs: - name: Build dmg (${{ matrix.build-type }}) run: | cd build - create-dmg \ + # FIXME: No, we're not crazy. We invoke create-dmg as root to work around this issue: + # https://github.com/actions/runner-images/issues/7522 + sudo create-dmg \ --no-internet-enable \ --format ULFO \ --background ../packaging/macos/dmg-background.png \