hashFiles

A workflow expression function that returns one SHA-256 hash for the files matching a pattern.

In more detail

It hashes each matching file and then hashes those digests together, so the value differs from a plain shasum of the file but still changes whenever any file changes. It is the usual way to put a lock file's content into a cache key.

Related terms

Taught in

References