diff --git a/dist/index.js b/dist/index.js index b96c86c..4a1027b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4980,6 +4980,7 @@ function getSource(settings) { !(yield tryPrepareExistingDirectory(git, settings.repositoryPath, repositoryUrl, settings.clean))) { // Delete the contents of the directory. Don't delete the directory itself // since it may be the current working directory. + core.info(`Deleting the contents of '${settings.repositoryPath}'`); for (const file of yield fs.promises.readdir(settings.repositoryPath)) { yield io.rmRF(path.join(settings.repositoryPath, file)); } diff --git a/src/git-source-provider.ts b/src/git-source-provider.ts index 122bbe1..fc41fd2 100644 --- a/src/git-source-provider.ts +++ b/src/git-source-provider.ts @@ -61,6 +61,7 @@ export async function getSource(settings: ISourceSettings): Promise { ) { // Delete the contents of the directory. Don't delete the directory itself // since it may be the current working directory. + core.info(`Deleting the contents of '${settings.repositoryPath}'`) for (const file of await fs.promises.readdir(settings.repositoryPath)) { await io.rmRF(path.join(settings.repositoryPath, file)) }