mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 05:14:52 +08:00
remove source dir after successful build in CI environment
This commit is contained in:
parent
d064e1353c
commit
37f604c821
@ -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