Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SHA checksums License

GitHub action that can be used to create SHA checksums for files.

It works on all platforms: Linux, MacOS and Windows.

Tested on macos-11, macos-12, macos-13, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022.

Usage

An example workflow config:

name: Create SHA256 checksums
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: SHA256 checksums
      uses: deep-soft/sha-checksums@v1
      with:
        type: 'SHA256'
        filename: 'SHA256SUMS'
        directory: '.'
        path: 'release'
        env_variable: 'SHA_SUMS'
        ignore_git: false

The generated archive will be placed as specified by directory, path and filename.

Arguments

filename

Default: SHA256SUMS

The filename for the generated checksums, relative to directory.

directory

Default: .

The working directory where the program runs.

path

Default: .

The path to the files or directory for which checksums will be computed, relative to directory.

type

Default: sha256

sha1, sha256, sha512, md5

ignore_git

Default: true

Ignore path ./git and ./.git/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages