0
mirror of https://github.com/actions/checkout.git synced 2025-04-25 07:30:34 +00:00
David Allsopp 44b7815b62 Tweak clean: false when there's no .git dir
If the checkout directory doesn't contain .git, previously the action
always erased the entire directory: now, it only does it if the clean
input is true (which is the default).

This means that files set-up _before_ actions/checkout is used do not
get erased before cloning and checkout the repository.
2021-08-03 14:46:53 +01:00
..