App-GhaInstall
view release on metacpan or search on metacpan
lib/App/GhaInstall.pm view on Meta::CPAN
no warnings;
!! $ENV{CI}
}
my $installer;
sub INSTALLER () {
return $installer if defined $installer;
if ( $ENV{GHA_INSTALL_BACKEND} ) {
$installer = $ENV{GHA_INSTALL_BACKEND};
}
elsif ( $] lt '5.008001' ) {
$installer = 'cpan';
}
else {
my $output = `cpanm --version`;
if ( $output =~ /cpanminus/ ) {
$installer = 'cpanm';
}
else {
$output = `cpm --help`;
if ( $output =~ /install/ ) {
( run in 0.243 second using v1.01-cache-2.11-cpan-cc502c75498 )