diff --git a/.github/actions/buildMacOS/action.yml b/.github/actions/buildMacOS/action.yml index 72b7c68157..e672b32b5e 100644 --- a/.github/actions/buildMacOS/action.yml +++ b/.github/actions/buildMacOS/action.yml @@ -204,8 +204,8 @@ runs: if [[ "${OS_VER}" -ge 12 ]]; then # For OS versions 12 and above we need to ensure that the ParserDetails.ini is set up. sudo perl -MXML::SAX -e "XML::SAX->add_parser('XML::SAX::PurePerl')->save_parsers()" || true - sudo perl -MXML::SAX -e "XML::SAX->add_parser('XML::LibXML::SAX::Parser')->save_parsers()" - sudo perl -MXML::SAX -e "XML::SAX->add_parser('XML::LibXML::SAX')->save_parsers()" + sudo perl -MXML::SAX -e "XML::SAX->add_parser('XML::LibXML::SAX::Parser')->save_parsers()" || true + sudo perl -MXML::SAX -e "XML::SAX->add_parser('XML::LibXML::SAX')->save_parsers()" || true fi sudo perl -MCPAN -e 'force("install","XML::SAX::ParserFactory")' sudo perl -MCPAN -e 'force("install","XML::Validator::Schema")'