Skip to content

Flurb/verify-file-checksum-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

'Verify File Checksum' Github Action

This action verifies the checksum of a given (remote) file. If the check passes, the Github Action passes.

Inputs

fileUrl

Required The URL of the file to check.

checksum

Required The expected (hexadecimal) checksum of the given file.

algorithm

Required The algorithm that has been used for calculating the checksum. Run openssl list-message-digest-algorithms in your terminal to check all available algorithms. Examples: MD5, SHA512, DSA-SHA1.

Outputs

verify-result

Does the checksum match with the given file.

Example usage

uses: Flurb/verify-file-checksum-action@v2
with:
  file: 'file://example.com/file.zip'
  checksum: 'd61da94811ff974fbd781ad1b396a03b'
  algorithm: 'MD5'

About

Github Action: Verify the checksum for a given file

Resources

Stars

Watchers

Forks

Packages

No packages published