mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-22 00:05:37 +08:00
Get env in commands
This commit is contained in:
@@ -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 = [];
|
||||||
|
|||||||
@@ -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',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user