Skip to content

Commit dcd2323

Browse files
committed
K, put back the sudo
On the self hosted runner I tweaked the sudoers file... maybe it'll work
1 parent 4dd03b7 commit dcd2323

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/app_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -754,14 +754,14 @@ jobs:
754754
755755
begin_group "Mounting Dmg, and checking signature of installer app"
756756
mkdir temp_mount
757-
hdiutil attach -mountpoint ./temp_mount/ $dmg
757+
sudo hdiutil attach -mountpoint ./temp_mount/ $dmg
758758
filename="${dmg%.*}"
759759
spctl --assess --type open --context context:primary-signature -vvvv ./temp_mount/$filename.app
760760
echo "::endgroup::"
761761
762762
begin_group "Installing"
763-
./temp_mount/$filename.app/Contents/MacOS/$filename --accept-licenses --default-answer --confirm-command --root $(pwd)/test_install install
764-
hdiutil detach ./temp_mount/
763+
sudo ./temp_mount/$filename.app/Contents/MacOS/$filename --accept-licenses --default-answer --confirm-command --root $(pwd)/test_install install
764+
sudo hdiutil detach ./temp_mount/
765765
echo "::endgroup::"
766766
767767
begin_group "Quick Check signature of inner executables and binaries"

0 commit comments

Comments
 (0)