Skip to content

Commit 6b28918

Browse files
committed
geeez
1 parent e23b6c0 commit 6b28918

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/app_build.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -754,24 +754,19 @@ jobs:
754754
755755
begin_group "Mounting Dmg, and checking signature of installer app"
756756
mkdir temp_mount
757-
if [ "${{ matrix.SELF_HOSTED }}" == "true" ]; then
758-
printf "${{ secrets.MACOS_SELF_HOSTED_PASSWORD }}\n" | sudo -S hdiutil attach -mountpoint ./temp_mount/ $dmg
759-
else
760-
sudo hdiutil attach -mountpoint ./temp_mount/ $dmg
761-
fi
757+
hdiutil attach -mountpoint ./temp_mount/ $dmg
762758
filename="${dmg%.*}"
763759
spctl --assess --type open --context context:primary-signature -vvvv ./temp_mount/$filename.app
764760
echo "::endgroup::"
765761
766762
begin_group "Installing"
767763
if [ "${{ matrix.SELF_HOSTED }}" == "true" ]; then
768764
printf "${{ secrets.MACOS_SELF_HOSTED_PASSWORD }}\n" | sudo -S ./temp_mount/$filename.app/Contents/MacOS/$filename --accept-licenses --default-answer --confirm-command --root $(pwd)/test_install install
769-
printf "${{ secrets.MACOS_SELF_HOSTED_PASSWORD }}\n" | sudo -S hdiutil detach ./temp_mount/
770765
else
771766
sudo ./temp_mount/$filename.app/Contents/MacOS/$filename --accept-licenses --default-answer --confirm-command --root $(pwd)/test_install install
772-
sudo hdiutil detach ./temp_mount/
773767
fi
774-
echo "::endgroup::"
768+
hdiutil detach ./temp_mount/
769+
echo "::endgroup::"
775770
776771
begin_group "Quick Check signature of inner executables and binaries"
777772
codesign -dvvv ./test_install/lib/libopenstudiolib.dylib

0 commit comments

Comments
 (0)