Git Hashes Action
This action stores the long and short form of the commit hash in the environment variables
Inputs
long-form
Optional If the long form of the hash should be stored. Defaults to true
.
short-form
Optional If the short form of the hash (first 7 characters) should be stored. Defaults to true
.
How to build?
- Install
@vercel/ncc
with npm global, for now it doesn't supportyarn dlx
, you can follow the status here: #998 - Run
ncc build index.js --license LICENSE
- Push your changes!