File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -754,24 +754,19 @@ jobs:
754
754
755
755
begin_group "Mounting Dmg, and checking signature of installer app"
756
756
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
762
758
filename="${dmg%.*}"
763
759
spctl --assess --type open --context context:primary-signature -vvvv ./temp_mount/$filename.app
764
760
echo "::endgroup::"
765
761
766
762
begin_group "Installing"
767
763
if [ "${{ matrix.SELF_HOSTED }}" == "true" ]; then
768
764
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/
770
765
else
771
766
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/
773
767
fi
774
- echo "::endgroup::"
768
+ hdiutil detach ./temp_mount/
769
+ echo "::endgroup::"
775
770
776
771
begin_group "Quick Check signature of inner executables and binaries"
777
772
codesign -dvvv ./test_install/lib/libopenstudiolib.dylib
You can’t perform that action at this time.
0 commit comments