mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 23:35:40 +08:00
Fix GHA token missing bug (#731)
* Update test-extensions.php * Enable UPX test * Add debug messages * Test * Revert * Update tests.yml * Update tests.yml * Explict define GITHUB_TOKEN * What's this??? * Check GITHUB_TOKEN in workflow * Test token variable in step * Test token variable inside php * Test token in command * Get env in commands * Revert workflow env, add passthrough GITHUB_TOKEN into docker * See build commands * See build commands * Typo fix * Remove debug symbol for normal mode
This commit is contained in:
@@ -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.2',
|
||||
'8.3',
|
||||
// '8.1',
|
||||
// '8.2',
|
||||
// '8.3',
|
||||
'8.4',
|
||||
];
|
||||
|
||||
// test os (macos-13, macos-14, macos-15, ubuntu-latest, windows-latest are available)
|
||||
$test_os = [
|
||||
'macos-13',
|
||||
// 'macos-13',
|
||||
// 'macos-14',
|
||||
'macos-15',
|
||||
'ubuntu-latest',
|
||||
'ubuntu-22.04',
|
||||
// 'ubuntu-22.04',
|
||||
// 'ubuntu-24.04',
|
||||
'ubuntu-22.04-arm',
|
||||
'ubuntu-24.04-arm',
|
||||
// 'ubuntu-22.04-arm',
|
||||
// 'ubuntu-24.04-arm',
|
||||
// 'windows-latest',
|
||||
];
|
||||
|
||||
@@ -131,7 +131,7 @@ if ($argv[1] === 'doctor_cmd') {
|
||||
$doctor_cmd = 'doctor --auto-fix --debug';
|
||||
}
|
||||
if ($argv[1] === 'install_upx_cmd') {
|
||||
$install_upx_cmd = 'install-pkg upx';
|
||||
$install_upx_cmd = 'install-pkg upx --debug';
|
||||
}
|
||||
|
||||
$prefix = match ($argv[2] ?? null) {
|
||||
|
||||
Reference in New Issue
Block a user