Skip to content

Commit

Permalink
fixed cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mryzhov committed Mar 21, 2024
1 parent 869067d commit b2cb0a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/cache/dist/save/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/actions/cache/src/saveImpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async function cleanUp() {
)
for (let i = files.length - 1; i >= 0; i--) {
var file = files[i]
const filePath = path.join(directory, file)
const filePath = path.join(cacheRemotePath, file)
const fileStats = fs.statSync(filePath)

if (fileStats.isFile() && fileStats.ctime < oneWeekAgo) {
Expand Down

0 comments on commit b2cb0a6

Please sign in to comment.