Skip to content

Commit

Permalink
chore(ci): checkout less submodules based on job (denoland#17343)
Browse files Browse the repository at this point in the history
Co-authored-by: Luca Casonato <[email protected]>
  • Loading branch information
dsherret and lucacasonato committed Jan 11, 2023
1 parent e246f06 commit e26fc19
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 120 deletions.
5 changes: 4 additions & 1 deletion .github/mtime_cache/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,10 @@ async function* ls(dir = "") {
case "120000": // Symbolic link.
break;
case "160000": // Git submodule.
yield* ls(path);
// sometimes we don't checkout all submodules
if (fs.existsSync(path)) {
yield* ls(path);
}
break;
default: {
// Regular file.
Expand Down

0 comments on commit e26fc19

Please sign in to comment.