Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan committed Jun 28, 2020
1 parent 1713614 commit 606b16a
Show file tree
Hide file tree
Showing 7 changed files with 901 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ typings/
# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# action-build-generate-sha1-hash

GitHub Action to generate sha1 hash

## Building

* Make any changes to the index.js
* Once done, run the following command `node_modules/@zeit/ncc/dist/ncc/cli.js build index.js` and create a tag

13 changes: 13 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Generate SHA1 Hash for File'
description: 'Generate SHA1 Hash for File'
author: 'd10sfan'
runs:
using: 'node12'
main: 'dist/index.js'
inputs:
file:
description: File path of hash
required: true
outputs:
hash:
description: File hash
Loading

0 comments on commit 606b16a

Please sign in to comment.