GHA: Try to fail the build if notarization failed
This commit is contained in:
@@ -266,8 +266,17 @@ jobs:
|
||||
do
|
||||
${{ github.workspace }}/.github/scripts/notarize-osx-distro-file.sh $dmg_file $NOTARIZE_PROFILE &
|
||||
done
|
||||
wait
|
||||
echo "Done signing and notarization of DMG files"
|
||||
for job in `jobs -p`
|
||||
do
|
||||
wait $job || let "FAIL+=1"
|
||||
done
|
||||
if [ "$FAIL" == "0" ];
|
||||
then
|
||||
echo "Done signing and notarization of DMG files"
|
||||
else
|
||||
echo "Failed Notarization"
|
||||
exit 1
|
||||
fi
|
||||
- name: Update DMG files on S3
|
||||
id: update-s3
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user