From da106bfeda8f64215a78b14fe305454431edcefd Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Fri, 18 Oct 2024 13:46:23 -0700 Subject: [PATCH] fix: Ignore failures to set up `ParserDetails.ini` --- .github/actions/buildMacOS/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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")'