Skip to content

Commit c18acd3

Browse files
committed
also remove source dir after building in CI
1 parent aeb5712 commit c18acd3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build-static.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,10 @@ else
205205
# shellcheck disable=SC2086
206206
${spcCommand} build --enable-zts --build-embed ${SPC_OPT_BUILD_ARGS} "${PHP_EXTENSIONS}" --with-libs="${PHP_EXTENSION_LIBS}"
207207

208+
if [ -n "$GITHUB_ACTIONS" ] || [ -n "$CI" ]; then
209+
rm -rf ./source
210+
fi
211+
208212
echo -n "${cache_key}" >../cache_key
209213
fi
210214

0 commit comments

Comments
 (0)