Skip to content

Commit 2d759ce

Browse files
committed
fix(ci): Run create-dmg as root on macOS
Fixes #711 (hopefully).
1 parent 33e90b7 commit 2d759ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/macos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,9 @@ jobs:
187187
- name: Build dmg (${{ matrix.build-type }})
188188
run: |
189189
cd build
190-
create-dmg \
190+
# FIXME: No, we're not crazy. We invoke create-dmg as root to work around this issue:
191+
# https://github.com/actions/runner-images/issues/7522
192+
sudo create-dmg \
191193
--no-internet-enable \
192194
--format ULFO \
193195
--background ../packaging/macos/dmg-background.png \

0 commit comments

Comments
 (0)