Get env in commands

This commit is contained in:
crazywhalecc
2025-05-21 09:23:39 +08:00
parent 9f7f746266
commit 5f8c3b85b9
2 changed files with 8 additions and 8 deletions

View File

@@ -37,7 +37,7 @@ class InstallPkgCommand extends BaseCommand
define('GIT_SHALLOW_CLONE', true); define('GIT_SHALLOW_CLONE', true);
} }
var_dump(getenv('GITHUB_TOKEN')); var_dump(getenv());
// Process -U options // Process -U options
$custom_urls = []; $custom_urls = [];

View File

@@ -13,22 +13,22 @@ declare(strict_types=1);
// test php version (8.1 ~ 8.4 available, multiple for matrix) // test php version (8.1 ~ 8.4 available, multiple for matrix)
$test_php_version = [ $test_php_version = [
'8.1', // '8.1',
'8.2', // '8.2',
'8.3', // '8.3',
'8.4', '8.4',
]; ];
// test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available) // test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available)
$test_os = [ $test_os = [
'macos-13', // 'macos-13',
// 'macos-14', // 'macos-14',
'macos-15', 'macos-15',
'ubuntu-latest', 'ubuntu-latest',
'ubuntu-22.04', // 'ubuntu-22.04',
// 'ubuntu-24.04', // 'ubuntu-24.04',
'ubuntu-22.04-arm', // 'ubuntu-22.04-arm',
'ubuntu-24.04-arm', // 'ubuntu-24.04-arm',
// 'windows-latest', // 'windows-latest',
]; ];