Created
December 20, 2021 12:33
-
-
Save yashi/69f44b16fd00825a717724174b6e1a64 to your computer and use it in GitHub Desktop.
Emulate hashFiles() with sha256sum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To emulate `hashFiles()` in GitHub Actions with `sha256sum`, you can do | |
```shell | |
sha256sum file | cut -f1 -d ' ' | xxd -r -p | sha256sum | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment