mjcheetham/asset-hash

Compute a hash/checksum of a GitHub release asset.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 6, 2023
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: mjcheetham/asset-hash@8a6ebc4f5c9bbff7d0552d95ba246cc69f4ebc89 # v1.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
repoRepository from which release assets are located. Defaults to this repository (GITHUB_REPOSITORY) if not specified. no
tagTag of the release from which assets are located. Defaults to the ref that triggered the workflow (GITHUB_REF) if not specified. no
assetName of the release asset. If the name starts and ends with '/' then the value is interpretted as a regular expression and the first asset matching the expression is selected. yes
hashThe type of hash/checksum to compute. Available values are: 'sha1', 'sha256', 'md5'. yes
tokenPersonal access token used to access the target repository. Only required if the repository is private. no

no outputs