mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
remove source dir after successful build in CI environment
This commit is contained in:
parent
9fdfef5057
commit
656a58c3fa
@ -195,6 +195,9 @@ abstract class LibraryBase
|
||||
$this->getBuilder()->emitPatchPoint('before-library[ ' . static::NAME . ']-build');
|
||||
$this->build();
|
||||
$this->installLicense();
|
||||
if (getenv('CI')) {
|
||||
FileSystem::removeDir($this->source_dir);
|
||||
}
|
||||
$this->getBuilder()->emitPatchPoint('after-library[ ' . static::NAME . ']-build');
|
||||
return LIB_STATUS_OK;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user