Skip to content

Commit 6558fc1

Browse files
committed
GRRRRRRRR
1 parent 45674eb commit 6558fc1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/app_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ jobs:
755755
begin_group "Mounting Dmg, and checking signature of installer app"
756756
mkdir temp_mount
757757
if [ "${{ matrix.SELF_HOSTED }}" == "true" ]; then
758-
sudo -S <<< "${{ secrets.MACOS_SELF_HOSTED_PASSWORD }}" hdiutil attach -mountpoint ./temp_mount/ $dmg
758+
printf "${{ secrets.MACOS_SELF_HOSTED_PASSWORD }}\n" | sudo -S hdiutil attach -mountpoint ./temp_mount/ $dmg
759759
else
760760
sudo hdiutil attach -mountpoint ./temp_mount/ $dmg
761761
fi
@@ -765,8 +765,8 @@ jobs:
765765
766766
begin_group "Installing"
767767
if [ "${{ matrix.SELF_HOSTED }}" == "true" ]; then
768-
sudo -S <<< "${{ secrets.MACOS_SELF_HOSTED_PASSWORD }}" ./temp_mount/$filename.app/Contents/MacOS/$filename --accept-licenses --default-answer --confirm-command --root $(pwd)/test_install install
769-
sudo -S <<< "${{ secrets.MACOS_SELF_HOSTED_PASSWORD }}" hdiutil detach ./temp_mount/
768+
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/
770770
else
771771
sudo ./temp_mount/$filename.app/Contents/MacOS/$filename --accept-licenses --default-answer --confirm-command --root $(pwd)/test_install install
772772
sudo hdiutil detach ./temp_mount/
@@ -784,7 +784,7 @@ jobs:
784784
echo "::endgroup::"
785785
786786
begin_group "Full Check signature of installed DMG for all executables and resolve otool libraries"
787-
python ../../checkout/developer/python/verify_signature.py --otool --otool-out-file otool_info_dmg.json --verbose --install test_install
787+
python ../checkout/developer/python/verify_signature.py --otool --otool-out-file otool_info_dmg.json --verbose --install test_install
788788
echo "::endgroup::"
789789
790790
begin_group "Running a simulation with python"

0 commit comments

Comments
 (0)