feat(remote): prefix checksums/cached files with the filename (#1636)

* feat(remote): add the task filename in the checksum / cache filename

* prefix the filename with the lastDir from the path
This commit is contained in:
Valentin Maerten
2024-06-28 18:07:43 +02:00
committed by GitHub
parent 46c5eafe35
commit 6012da7a21
5 changed files with 26 additions and 2 deletions

View File

@@ -72,3 +72,7 @@ func (node *StdinNode) ResolveDir(dir string) (string, error) {
return filepathext.SmartJoin(node.Dir(), path), nil
}
func (node *StdinNode) FilenameAndLastDir() (string, string) {
return "", "__stdin__"
}