From beb95fd3dc29bdab473637b9a598174729ecac05 Mon Sep 17 00:00:00 2001 From: Andrei Elovikov Date: Tue, 27 Jun 2023 09:21:17 -0700 Subject: [PATCH] [CI] Generalize hidden files removal in actions/cleanup --- devops/actions/cleanup/cleanup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devops/actions/cleanup/cleanup.js b/devops/actions/cleanup/cleanup.js index 29c002256cd68..ad21fd098c2d6 100644 --- a/devops/actions/cleanup/cleanup.js +++ b/devops/actions/cleanup/cleanup.js @@ -1,4 +1,3 @@ -const path = process.env.GITHUB_WORKSPACE + '/*'; +const path = process.env.GITHUB_WORKSPACE + '/{*,.*}'; console.log('Cleaning ' + path) require('child_process').execSync('rm -rf ' + path); -require('child_process').execSync('rm -rf ' + process.env.GITHUB_WORKSPACE + '/.git');